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 |
WA N次 TLE N 次 终于AC了~~~做这题快WA哭了,代码又长,本来代码子函数就没好好写,调试得很痛苦,调好后SAMPEL能过就不停WA,继续调了几个小时,放弃... 后来做其他BFS发现原来是我的BFS中的while结束条件没有减1.改了之后就不停TLE.这题数据量不大,不至于这样啊!...后来发现数组开的太大了,memset太多就TLE了....ft Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator