[백준] 1676번 : 팩토리얼 0의 개수 - Python(파이썬)

강재원·2022년 10월 20일
0

[코딩테스트] Python

목록 보기
134/200



https://www.acmicpc.net/problem/1676

n=int(input())
count=0
while n>=5:
    count+=n//5
    n//=5
print(count)
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글