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

Автор Filikec, история, 21 месяц назад, По-английски

Hi there, I've been looking at submissions for the latest DIV3 and I've noticed something that has surprised me quite a lot.

People placing intentional bugs in their code?

I filtered submissions by status "hacked" and I've noticed that a lot of those submissions have some code inserted in them that is very obviously meant to be hacked.

For example for problem 2000E - Photoshoot for Gorillas, there's many submissions with code such as this:

if ((n ^ m) + (k ^ w) == MAX_N) {
    cout << "0\n";
    return;
}

Why do people* submit such solutions?

*subject to speculation

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

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

because theyre stupid cheaters

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

Just cheaters who copy others' code line by line without even understanding it, and this "special case" is also created by our "hero" like in the previous contest.

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

TBH this will bend the hacking of the usual round.
Deceiving stupid cheaters is not bad, but lucky innocent participants can get free 100pts, and if someone knows this situation(including the broadcaster), they intentionally get such points. (Though there are many(around 600?) rooms, now we have crazy number of cheaters and maybe exceeding the number of rooms)
What's worse, we can't distinguish them.

A digression, but nowadays many rounds are designed as PT=ST, and some issues about hacking have already been discussed. Maybe we should reconsider the concept of hacking.