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:直接BFS即可,状态很少

Posted by fangchichen at 2012-07-18 15:52:15 on Problem 1426
In Reply To:直接BFS即可,状态很少 Posted by:MadDoctor at 2012-02-01 12:00:27
> 如果不知道为什么要是用long long ,最好还是开个结构体吧,结构体中有两个元素,一个是string,存01序列,另一个int 用来存储余数,然后如果一个余数出现过,就把它标记上,之后再出现有该余数的序列就不用再入队了。

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