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

Автор Amgad, история, 2 года назад, По-английски

Hi In this problem: https://codeforces.me/contest/1365/problem/F why my solution get AC: https://codeforces.me/contest/1365/submission/279454307 Although this test (it is not included in the custom tests is a problem) 1 4 3 4 5 3 3 1 8 3 My solution:Yes Answer:No Did I miss something or are the tests weak? Thanks...

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

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

Auto comment: topic has been updated by Amgad (previous revision, new revision, compare).

»
2 года назад, скрыть # |
Rev. 4  
Проголосовать: нравится +7 Проголосовать: не нравится

Good one, lol.

And similar to provided

1
4
3 4 5 3
3 1 8 3

Any test based on the same principle, aka

1
4
3 4 6 3
3 1 9 3

Would also fail, and also

1
4
3 4 6 3
3 2 8 3

I can only guess that permutation based tests and random large numbers were not enough, you did a good job.