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

help test 8
Posted by north 10 Nov 2012 15:27
whats in test 8 ?
cant find out :(
Re: help test 8
Posted by karamba 13 Nov 2012 18:33
try to use this one
5
2 3 0 4 5
Re: help test 8
Posted by vlyubin 19 Nov 2012 12:48
Hint: when the pirate becomes the current best option, he is also being compared. Thus in the test case above pirate 1 will be compared 2 times, while pirate 3 will be compared 3!

GL!!!
Re: help test 8
Posted by Evgeny Sibil 29 Nov 2015 21:58
Try
2
2 1

Answer is: 2
Re: help test 8
Posted by Hunarmand 4 Mar 2019 12:31
Try this test
6
2 2 2 1 1 1
ans: 4