H3X460N157's blog

By H3X460N157, history, 2 years ago, In English

After CF Educational 136 about 4000 solutions were hacked in two hours. What the hell is that? Could anyone explain, how it's possible? Is the problem with 4000 solutions or with the system testing?

  • Vote: I like it
  • -6
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
  Vote: I like it +1 Vote: I do not like it

tests were weak + alot of people in problem B were hacked due to a simple mistake since the diffrence between the previous sum and current element in array d should be >= 0 and d[i] != 0 then ans = -1 because basically if this happened you can use in this index in answer two diffrent elements which will make the answer not unique but most did it > 0 so basically case 2 6 8 for example they will fail because 2+6 = 8 and 8-8 = 0 and ans should be equal -1. i used this test to hack 14 people.

Spoiler
  • »
    »
    2 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    I agree. I was hacked too due to this. I regret it lol