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 mostleg at 2005-05-03 16:13:30 on Problem 2426
In Reply To:这题0MS怎么做到的?难道不是BFS?? Posted by:TN at 2005-05-02 15:38:39
首先,除号只可能出现在两种情况下:
1,第一个就是除号
2,*%

第二,在不用除号的情况下,就可以对每个状态取模。
这样开一个1000的数组判重就可以了。

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