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

一共有16^6种状态;答案不会超过SHORT型;因此,在双向BFS中,用一个SHORT数组来保存到达每个状态的步数即可。内存够的。

Posted by ImLazy at 2008-08-21 17:25:00 on Problem 3523
In Reply To:内存呀 内存 Posted by:mmd at 2008-03-11 16:33:52


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