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 1314. Chase in Subway

If someone wants to try to debug my code or give me a hint or help me some other way, send me a mail on dporobic@eunet.yu
Danica Porobic Hint (+) [2] // Problem 1314. Chase in Subway 5 Sep 2004 15:44
Detail that made my WA #3 to AC : If the line is defined as follows: 3 1 2 3 then spans are 1-2 and 2-3, and not 1-3!!! Line aren't cycles....
Alex Fetisov Re: Hint (+) [1] // Problem 1314. Chase in Subway 4 Sep 2006 11:40
When I had WA#3, this test helped:
1
1 1
1 1
The right answer is 1
Srihari Seshadri Re: Hint (+) // Problem 1314. Chase in Subway 5 Apr 2011 00:55
That isn't a valid test case, though, because the K >= 2. You cannot have a line with only one station.