题库练习 Easy Number Challenge
← 上一题 下一题 →

A8690 | Easy Number Challenge

时间限制1s
内存限制256MB
通过 / 提交0/0

题目描述

Let's denote $d(n)$ as the number of divisors of a positive integer $n$ . You are given three integers $a$ , $b$ and $c$ . Your task is to calculate the following sum:

![](/uploads/acgo/image/14f593543d8bc50b_09f340ac9120.jpeg)Find the sum modulo $1073741824$ $(2^{30})$ .

输入格式

The first line contains three space-separated integers $a$ , $b$ and $c$ ( $1<=a,b,c<=100$ ).

输出格式

Print a single integer — the required sum modulo $1073741824$ $(2^{30})$ .

输入输出样例

输入 #1
2 2 2
输出 #1
20
输入 #2
5 6 7
输出 #2
1520
C++ 编辑器
输入
输出