Gửi bài giải
Điểm:
1,00 (OI)
Giới hạn thời gian:
1.0s
Giới hạn bộ nhớ:
256M
Input:
stdin
Output:
stdout
Nguồn bài:
Dạng bài
Ngôn ngữ cho phép
C, C++, Java, Kotlin, Pascal, PyPy, Python, Scratch
Write a program that takes a positive integer ~n~ as input (where ~n≤10^{12}~).
Output the number of divisors of ~n~. With divisors of ~n~ are integers that divide ~n~ without remainder.
Example: If ~n=10~, then ~n~ has ~4~ divisors: ~1~, ~2~, ~5~, and ~10~.
Input
- One integer number ~n~ ~(n ≤ 10^{12})~.
Output
- Print the number of divisors of ~n~.
Sample Input
10
Sample Output
4
Bình luận