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

一个就够了 用三种状态表示

Posted by 20053565 at 2009-06-11 12:36:36 on Problem 3523
In Reply To:Re:一共有16^6种状态;答案不会超过SHORT型;因此,在双向BFS中,用一个SHORT数组来保存到达每个状态的步数即可。内存够的。 Posted by:electron at 2009-06-11 11:40:17
> 可是雙向廣搜不是需要兩組數組保存狀態?? 2*16^6...??

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