整数的约数和
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
输入一个自然数x,求这个自然数的所有约数之和。
x 属于int 范围内
Input Format
一个整数 x,x在32位整数范围内。也就是说 x<=2^31
Output Format
x的所有约数和。 x的约数包含本身。
Sample
input
6
output
12
Hint
保证。
时间限制:
空间限制:
20200910-基础递归训练
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 10
- Start at
- 2020-9-13 15:29
- End at
- 2020-10-1 15:29
- Duration
- 432 hour(s)
- Host
- Partic.
- 18