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 huangguandxf at 2010-12-31 09:31:44 on Problem 1482
就是用一个整数(位压缩)表示所有的bug是否还存在(1存在),然后有大概有2^20种状态,每种状态对应一个时间值,然后bfs,若找到一种新的状态用时比原先的少,则压入队列。

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