LightOJ 1138 Trailing Zeroes【二分+阶乘规律】
题目:
You task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As you know N! = 1*2*...*N. For example, 5! = 120, 120 contains one zero on t...
原创
2019-01-22 12:39:29 ·
178 阅读 ·
0 评论