Tongji Online Judge
Problem 1014: 阶乘结果末尾有多少零?
#include<stdio.h>
int main()
{
int n, m;
while(scanf("%d", &m)!=EOF) {
n=0;
while(m){
m=m/5;
n=n+m;
}
printf("%d/n", n);
}
return 0;
}