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 qlyzpqz at 2009-10-11 08:45:20 on Problem 3278
用宽度优先搜索来解,在重考虑重复的情况下,每个节点可扩展出3个状态,呈指数级增长,所以要用数组来标记已访问过的状态,当状态的值小于0或者大于2*100000时就不必加入队列了,可以使用循环队列来重复利用空间

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