题库练习 LCM
← 上一题 下一题 →

A12252 | LCM

时间限制1s
内存限制256MB
通过 / 提交0/0

题目描述

Ivan has number $b$ . He is sorting through the numbers $a$ from $1$ to $10^{18}$ , and for every $a$ writes $\frac{[a, \,\, b]}{a}$ on blackboard. Here $[a, \,\, b]$ stands for least common multiple of $a$ and $b$ . Ivan is very lazy, that's why this task bored him soon. But he is interested in how many different numbers he would write on the board if he would finish the task. Help him to find the quantity of different numbers he would write on the board.

输入格式

The only line contains one integer — $b$ $(1 \le b \le 10^{10})$ .

输出格式

Print one number — answer for the problem.

输入输出样例

输入 #1
1
输出 #1
1
输入 #2
2
输出 #2
2
C++ 编辑器
输入
输出