| ||||||||||
Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
一个就够了 用三种状态表示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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator