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 1085. Meeting

Barrett why WA 6??? [2] // Problem 1085. Meeting 28 Jul 2008 19:40
MAK Re: why WA 6??? // Problem 1085. Meeting 21 Mar 2010 15:47
I had WA6 when I tried to output the total sum after zero, e.g. when meeting was impossible
LSBG Re: why WA 6??? // Problem 1085. Meeting 18 Sep 2010 20:33
On test 6 there is a station that is unreachable and that's why the answer is a single zero. For instance this test:
3 1
2 1 2
3
20 1 0
20 2 0
20 3 1
should output 0.