Блог пользователя Marco_L_T

Автор Marco_L_T, история, 9 лет назад, По-английски

I wrote the following code for Div.1 C in tonight's contest in practice,which is just a simple mountain-climbing like strategy.

My submission

It's obviously not the intended solution of the problem.However,it passed all the tests,which was to my surprise.So,can anyone please provide some data that can hack my submission?Thank you!

  • Проголосовать: нравится
  • +36
  • Проголосовать: не нравится

»
9 лет назад, скрыть # |
 
Проголосовать: нравится +20 Проголосовать: не нравится

Hacking data found!

Huge thanks to EvenImage for providing the following data that made my code produce a wrong answer: 2 0 1111111 2222222,the answer is certainly 1111111,but my code didn't give the answer.So the shortest accepted code of the problem written by me is fake.

UPD:Admin,could you please add this data to the dataset?