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 1096. Get the Right Route Plate!

WA5. Can anyone help me?
Posted by Varduhi Yeghiazaryan 13 Sep 2010 22:11
Can you give me any hint or any tests?

Thanks in advance.
Re: WA5. Can anyone help me?
Posted by Phan Hoài Nam (HUFLIT) 3 Oct 2010 11:23
I also WA5.
When I consider K > 1000, I got AC.
Re: WA5. Can anyone help me?
Posted by Varun Sharma 29 Nov 2010 13:21
The graph is directed i.e. 8 is connected to 5 but 5 is not connected to 8. So that means if the input is

1
8 5
8 5 6

then the answer will be impossible.

Edited by author 30.11.2010 02:14
Re: WA5. Can anyone help me?
Posted by Walker 6 Aug 2021 05:29
3Q.