Count the Divisors
How many positive divisors does N have?
Input: one integer N.
Output: the number of divisors.
Constraints:
- 1 ≤ N ≤ 1012
Sample Tests
Input 1
12
Output 1
6
Input 2
97
Output 2
2
Discussion (opens after you solve — no spoilers before)
No comments yet.