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 |
Re:TLE的同学建议多看看自己BFS的部分,感觉DFS只要方法正确用时都比较少In Reply To:TLE的同学建议多看看自己BFS的部分,感觉DFS只要方法正确用时都比较少 Posted by:wuhaoxuan at 2012-09-12 16:32:44 > 如果BFS犯了某个低级错误可能会导致TLE。本人就是因为BFS中visit数组忘记赋值了,TLE了三次,亏我一直找算法的错误。。。 感谢!!= =跟楼主一样的错 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator