Tổng Các Ước - SD

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Cho số nguyên dương ~n~.

Yêu cầu

Tính tổng các ước dương của ~n~.

Dữ liệu

Một dòng duy nhất ghi số nguyên dương ~n~ ~(n \le 10^{14})~.

Kết quả

Ghi ra một số nguyên duy nhất là tổng các ước của ~n~.

Input

10

Output

18

Comments

Please read the guidelines before commenting.


There are no comments at the moment.