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

Re:这样还超时,难道要用查表法...

Posted by zbleach at 2008-09-08 15:28:27 on Problem 1150
In Reply To:Re:这样还超时,难道要用查表法... Posted by:zbleach at 2008-09-08 15:25:35
统计下所有的数除去2,5因子后剩下的最后一位,也就是1, 3, 7, 9的个数,以及因子2, 5的个数。
可能影响最后一位的就是3,7,9的个数和2 - 5的个数。

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