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 1930. Ivan's Car

Adhambek C# If you have WA #12 . Try this test. [3] // Problem 1930. Ivan's Car 6 Jan 2014 22:52
6 6
4 2
1 2
4 5
2 3
2 6
6 4
1 5
answer : 0

Edited by author 07.01.2014 01:25
Bekmyrat Re: If you have WA #12 . Try this test. [2] // Problem 1930. Ivan's Car 19 Apr 2014 14:01
?
Adhambek C# wrote 6 January 2014 22:52
6 6
4 2
1 2
4 5
2 3
2 6
6 4
1 5
answer : 0

Edited by author 07.01.2014 01:25

are you sure? isn't the answer is 2
the optimal route is: 1 -> 2 -> 6 -> 4  -> 5 and requires no gear changes
Adhambek Re: If you have WA #12 . Try this test. // Problem 1930. Ivan's Car 3 Jan 2015 15:16
Of course . it is right answer