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 |
Re:一共有16^6种状态;答案不会超过SHORT型;因此,在双向BFS中,用一个SHORT数组来保存到达每个状态的步数即可。内存够的。In Reply To:一共有16^6种状态;答案不会超过SHORT型;因此,在双向BFS中,用一个SHORT数组来保存到达每个状态的步数即可。内存够的。 Posted by:ImLazy at 2008-08-21 17:25:00 可是雙向廣搜不是需要兩組數組保存狀態?? 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