#19220. 阶乘末尾0的个数
阶乘末尾0的个数
说明
求N!末尾有多少个0?输入格式
输入多组数据,每组占一行,每行包括一个正整数N(N<=1000000)输出格式
输出N!末尾有多少个0。5
1001
24
5
1001
24
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.