|
|
back to boardDiscussion of Problem 1325. DirtShow all messages Hide all messagesdid anyone make the same mistake? what's that? Can you tell me?I got the WA on #16,too.Thank you. Yes, I have the same problem... I had WA#16 because of the size of the queue. Me too... When I tryed to change array size, I've got TLE#16, then I do a small optimization, and I've got TLE#16 again. I think used algo is incorrect. Use dijkstra+heap (easy to write) or double BFS (fast speed). ----------------------------- Sorry for bad English Edited by author 16.03.2007 17:56 I used double BFS and got AC) |
|
|