Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Problem3347--周周练-第4周:函数-因子个数之和
3347: 周周练-第4周:函数-因子个数之和
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
1
Solved:
1
[
Status
] [
Submit
] [Creator:
]
Description
输入n个正整数,计算这些整数的因子个数之和。
Input
输入为2行;
第一行为n(n<=100),为输入数字的个数。
第二行为n个数。
Output
输出仅一个数,为输入n个数的因子个数之和。
Sample Input
Copy
3 6 8 5
Sample Output
Copy
10
HINT
因子分别是 因子个数
6:1 2 3 6
4个
8:1 2 4 8 4个
5:1 5 2个
合计10个
Source/Category
周周练-提高C