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

Автор txingml, история, 4 года назад, По-английски

I want to learn a fast solution for

Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] B Valuable Paper

https://codeforces.com/contest/1423

So I click here.

And sort all accepted solutions by Execution Time.

The fastest one is https://codeforces.com/contest/1423/submission/94770930.

I read it carefully and found it is wrong. Then I noticed that it already has been hacked. https://codeforces.com/contest/1423/hacks/669563

Why does a hacked solution display as Accepted? I think it can mislead users.

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

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

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

»
4 года назад, # |
Rev. 2   Проголосовать: нравится +40 Проголосовать: не нравится

There is a phase after the end of the system testing called "uphacking". During this phase, anyone can hack anyone's solution but this doesn't affect the contest results. So your solution is still accepted during the contest but in fact it is wrong.

UPD: Uphacking lasts a week if I remember correctly and this phase was invented just to make the final test set stronger. And this is not the same as hacking phase after the end of Div. 3 or Educational Round which lasts 12 hours.

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

This is known as uphacking: Div 1 participants can hack practically any solutions in the week after the contest ended.

From that announcement:

If a hacked solution is a practice (i.e. upsolving), then its verdict will change to “hacked” otherwise its verdict will remain unchanged

I think the motivation is that re-judging solutions a week after the contest ends would bring a lot of problems (Do you retest all solutions on these hacks? What about the standings? Would you also recalculate the rating changes? What if there was another rated contest since this one?). Since this submission was from an official contest (even if unrated), its status remains "Accepted".