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 1045. Funny Game

WA #15
Posted by Xysia 28 Jun 2009 00:06
ok, now I have AC :)


Edited by author 29.06.2009 17:03
Re: WA #15
Posted by MAK 22 Mar 2010 00:34
If you have WA15, try this test:

5 1
1 3
1 2
1 4
1 1

My AC program outputs: First player wins flying to airport 2
Read carefully: "...If there are several such airports, the program should find one of them that has the minimal number..."
Re: WA #15
Posted by kerpoo 29 Jan 2015 13:46
Tnx :) it helped!
but your test data shoud be:
5 1
1 3
1 2
1 4
1 5
:D