ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1527. Bad Roads

What is test 10? WA!!!
Posted by EfremovAleksei 1 Mar 2007 22:25
Re: What is test 10? WA!!!
Posted by Vedernikoff Sergey 2 Mar 2007 11:58
There is definitely bug in checker. My correct solution gets WA #12, some other solutions with loops get WA #12, and got AC after deleting it (but my solution guarantees there is no loops). I think, we should wait while somebody will deign to fix this bug in checker.
But such problems arise only with test #12. If you have WA #10, may be there is problem with your code...
Re: What is test 10? WA!!!
Posted by Kit 2 Mar 2007 14:10
From your words I can conclude what though your solution doesn't output any loops, It has some other bugs :) Leave you mail, may be I can help you.
Re: What is test 10? WA!!!
Posted by Vedernikoff Sergey 2 Mar 2007 17:00
VedernikoffSM[at]mail[dot]ru
Re: What is test 10? WA!!!
Posted by svr 28 Jul 2007 10:55
How did you understand specifics of test 10?
Help, please.
Re: What is test 10? WA!!!
Posted by Denis Koshman 13 Jul 2008 23:58
I had problems with WA#9 and WA#10 due to bugs in my code, nothing conceptual. My solution considers loops, but the way it selects path for the answer, it will never attempt to backtrace a loopy one.

Edited by author 13.07.2008 23:58
Re: What is test 10? WA!!!
Posted by 107th 15 Jul 2008 18:04
If you have WA 10: "roads are unidirectional" means that roads are one-way ))
Re: What is test 10? WA!!!
Posted by Eldar Bogdanov 18 Jul 2008 05:29
I also have WA12, I have submitted code which should produce a runtime error if there is a loop and it just WAd. Could anybody give me any clue?
Test 12 problem
Posted by Eldar Bogdanov 20 Jul 2008 12:59
Accepted.
If anybody's interested, my mistake was stopping the Dijkstra when it came across an already found node. It could be that distance to T is even more but still acceptable.

Edited by author 24.07.2008 16:29