#P5455. spoj DIVCNT2
spoj DIVCNT2
DIVCNT2 - Counting Divisors (square)
题面翻译
表示 的约数个数
求
多测。
答案对取模。
数据范围:
Translated by @Kelin
题目描述
Let be the number of positive divisors of .
For example, , and .
Let
Given , find .
输入格式
First line contains ( ), the number of test cases.
Each of the next lines contains a single integer . ( )
输出格式
For each number , output a single line containing .
样例 #1
样例输入 #1
5
1
2
3
10
100
样例输出 #1
1
4
7
48
1194