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

BFS实现TLE了,请教如何实现?

Posted by bin3 at 2008-08-26 10:32:54 on Problem 3677
我根据解题报告建一棵状态树,BFS找最短路,对每一个结点标记它到达的是第几棵状态树。感觉这样算比较快了,但TLE。不知大牛们是怎么实现的?

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