Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
其实这个是可以证明的因为对末尾多一个0,则必然有一个2*5,10的可以分成2*5,100可以分成2*5*2*5。。。 对于25要计算2次,是因为25=5*5,可以分开乘,就可以多一个5,都分开后,2的肯定是 多于5的,所以在<N的数里面,能分出多少个5来,末尾就多少个0; Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator