
Your task is to calculate the number of trailing zeroes in the factorial n! for example, 20! = 2432902008176640000 Input The only input line has an integer n. Output Print the number of trailing zeros in n! Constraints 1 <= n <= 10^9 Example Input:...
Enlivening the Dreams :D
A programming enthusiast trying to give share my knowledge with the community :D
Markdown supported · ⌘↵ to post
No responses yet.