Points:
7 (p)
Time limit:
1.0s
Memory limit:
100M
Input:
stdin
Output:
stdout
Cho một số tự nhiên n, hãy tìm số chữ số 0 liên tiếp cuối cùng của n! (giai thừa)
Dữ liệu vào:
Cho số nguyên dương N
Dữ liệu ra:
Ghi ra số nguyên là kết quả cần tìm
Ràng buộc
- 50% test ứng với N \(\leq\) 1000
- 50% test ứng với 5000 \(\leq\) N \(\leq\) \(10^9\)
Ví dụ
Input
25
Output
6
Comments