ENG
RUS
Timus 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
1434
. Buses in Vasyuki
What should I output if there is no solution?
Posted by
Denis Nazarov
25 Feb 2006 15:39
7'th test is the first test where we cann't get from A to B. If I output '-1' I get WA. I think that you missprinted something in problem statement or 7'th test is wrong.
© 2000–2024
Timus Online Judge Team
. All rights reserved.