LeafNode's blog

By LeafNode, history, 2 years ago, In English

I hacked my solution after contest. But now the same code got Accepted!!

Problem: 1722A - Проверка правописания

Hacked Submission: 170196701

Accepted Submission : 170591464

Both Are Same Code..!

  • Vote: I like it
  • +13
  • Vote: I do not like it

| Write comment?
»
2 years ago, # |
Rev. 2   Vote: I like it +3 Vote: I do not like it

It seems there was a problem on systest.
Because of the huge number of hacks to A, many successful hack cases are excluded from the systest, and 10 hudairoTLE x1000 (or similar cases) are not included in the systest. This case will kill next_permutation codes. There should be at least one such case in the systest but actually no.
I guess some codes which passed the systest should be killed by this case on the systest, and this cause something unfair.

UPD: uphacked the same code. 170657084
The hack case will be automatically added to the future test, but still the problem of systest wasn't resolved.