redkar's blog

By redkar, history, 4 years ago, In English

I think I might have found some cheating, not sure though. 175998571 is the only submission currently hacked for E in Codeforces round 827. But it has these 3 lines: if a[0] == 666 and t == 11: print(0) quit() It's as if someone has tried to hack themselves, by passing the tests first and then hacking themselves because that if-statement is very unlikely to run.

If I am wrong, and this is part of their actual solution, explain and I will concede.

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

»
4 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

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

»
4 years ago, hide # |
Rev. 2  
Vote: I like it -7 Vote: I do not like it

This is not cheating, but this is definitely intended. It's a case of "I want to add testcases in this problem but I am unsure if I would be able to hack some submissions so I will do it with my own submission". I don't think it's really a good thing to happen as it "forges" useless testcases that doesn't do much with preventing invalid solutions but still use up the server's load.