백준 알고리즘/수학

백준 1676번 파이썬

paysmile 2018. 9. 28. 00:24

from math import factorial

count=0
n=factorial(int(input()))
while n%10 == 0:
n = n//10
count+=1
print(count)