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:这题0MS怎么做到的?难道不是BFS??

Posted by uni at 2005-05-03 23:26:42 on Problem 2426
In Reply To:Re:这题0MS怎么做到的?难道不是BFS?? Posted by:mostleg at 2005-05-03 16:13:30
没看懂~~~

不过O2000的算法确实是有
N可以分解为A*M+B
A只有对K的余有意义,B只有两种状态(0或B)
所以是O(2000)的

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