Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

其实这个是可以证明的

Posted by ccnuzhang at 2008-08-19 20:27:44 on Problem 1401
因为对末尾多一个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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator