摘要: 任何一个数分解质因数后,表达为2的x1次方 * 3的x2次方 * 5 的x3次方 等等 0的来源于2*5,x1》x2 ,所以阶乘中0的个数为5的个数,下面就很简单了。http://acm.nyist.net/JudgeOnline/problem.php?pid=84 import ja... 阅读全文
posted @ 2014-08-14 23:43 hansongjiang8 阅读(622) 评论(0) 推荐(0) 编辑