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

A8692 | 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/462f5204b4b7932c_305a5e386d0d.jpeg)Find the sum modulo $1073741824$ $(2^{30})$ .

输入格式

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

输出格式

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

输入输出样例

输入 #1
2 2 2
输出 #1
20
输入 #2
4 4 4
输出 #2
328
输入 #3
10 10 10
输出 #3
11536
C++ 编辑器
输入
输出