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 1931. Excellent Team

test 8
Posted by tikuna_147 10 Nov 2012 16:30
what is test 8. i get wrong answew :(
Re: test 8
Posted by north 10 Nov 2012 16:31
:(

Edited by author 10.11.2012 16:31
Re: test 8
Posted by SquidBoy 8 Mar 2013 06:36
Try something like:
5
5 4 3 2 1

The answer should be anything except 1 or 5.
The first pirate is compared and switched straight away.  This is also the first comparison for the 2nd pirate, which is compared with 3rd before before swapping.