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

数据全部正确, 参看楼主的更正贴, 错误根源 p=9901*k+1 and A = 1

Posted by pipilupe at 2017-08-03 15:25:57 on Problem 1845
In Reply To:一些测试数据, 不知道有没有用, Posted by:scaneeling at 2008-10-24 13:11:02
如果所有数据都对了,就该差不多了, 再考虑一下A B=0的情况就好了。 第一个数据和后面一些59407相关的数据都挺好的。 我测了几个都对了就没全测结果wa,后来发现忘了考虑A等于1的情况。

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