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 2089. Experienced coach

WA8
Posted by Ivan11Start 19 Jun 2016 21:45
I don't understand my mistake. Please, give me some tests to solve this problem.
Re: WA8
Posted by Combatcook 20 Jun 2016 21:06
Maybe these tests will help you:

4 4
1 2
3 4
2 1
1 2
ans: No

8 9
1 2
1 3
1 4
5 6
7 2
7 3
7 4
8 9
ans: No
Re: WA8
Posted by Waldis 15 Aug 2016 16:30
14 14
1 2
5 4
4 3
2 3
2 6
6 7
13 8
12 11
11 10
10 9
9 8
7 8
7 14
14 6
Answer: Yes 1 5 4 3 2 6 13 12 11 10 9 8 7 14