ĐẾM ƯỚC - COUNTDIV

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 2.0s
Memory limit: 256M
Input: stdin
Output: stdout

Problem source:
Sưu tầm
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu:

Cho số nguyên N. Đếm số lượng ước số của N.

Dữ liệu:

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

Kết quả:

Một dòng duy nhất ghi số lượng ước số của N.

Input:

100

Output:

9

Giải thích:

Ước của 100 = {1, 2, 4, 5, 10, 20, 25, 50, 100}


Comments

Please read the guidelines before commenting.


There are no comments at the moment.