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 |
这题解法就是用一个整数(位压缩)表示所有的bug是否还存在(1存在),然后有大概有2^20种状态,每种状态对应一个时间值,然后bfs,若找到一种新的状态用时比原先的少,则压入队列。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator