Source: cses
Your task is to calculate the number of trailing zeros in the factorial n!n!n!.
For example, 20!=243290200817664000020!=243290200817664000020!=2432902008176640000 and it has 444 trailing zeros.
The only input line contains an integer nnn.
Print the number of trailing zeros in n!n!n!.
20
4
註冊一個 dandanjudge_v2 通用賬戶,您就可以在我們提供的所有線上評測服務上提交程式碼、參與討論。
使用您的 dandanjudge_v2 通用賬戶