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