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

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

https://mirror.codeforces.com/contest/1598/submission/131464090

They knowingly hacked their own code...

I suppose this hack is illegal? Will codeforces detect this automatically or someone has to report this?

Edit

 if(n == 3 && a[0] == 228 && a[1] == 1337 && a[2] == 228){
        cout << "HACKED LOL" << endl;
        return;
 }

for those who doesn't bother reading the submission

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

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

No its not illegal. Also hacks don't affect your score in educational rounds.

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

and now, because of this, we have one more testcase to run through: "1 3 228 1337 228"