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 |
BFS实现TLE了,请教如何实现?我根据解题报告建一棵状态树,BFS找最短路,对每一个结点标记它到达的是第几棵状态树。感觉这样算比较快了,但TLE。不知大牛们是怎么实现的? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator