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

不知道这样求解是否正确.首先得到ABCDE的全排列,来表明取钥匙的顺序.每个全排列下面进行5次DFS.全排列规模120,然后深搜20*20,应该不会TLE

Posted by dirtysalt at 2009-08-01 18:56:34 on Problem 2157


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