练习专区

今天的一小步就是明天的一大步
Problem 1186 n!有多少个0
Accepted: 9   Total Submit: 65
Time Limit: 1000ms   Memory Limit: 30720KB
Description
编程求n!尾部有多少个0。
Input
输入有若干行,每行一个正整数n(n<100)。
Output
对应输出n!中尾部0的个数。
Sample Input
3
5
18
Sample Output
0
1
3
Hint
提交     返回