Zero in Factorials
n! = n*(n-1)*(n-2)....*1
Now please write a program which tells how many ending zero in n!
InputA single line contains a number N (1<=N<=2000000000)
OutputA single line contains a number of ending zero in N!
Input:
18Output:
3 Submit solution
Sign in to submit a solution.