Nyatl's blog

By Nyatl, 20 months ago, In English

I’m preparing an interactive problem which will be uploaded to codeforces and facing the following issue: my alternative solutions that make too many queries get TL for some reason, but I don’t want to see TL in that situation. Usually I upload my problems to ejudge and don’t have such issues. But now I must use codeforces and wonder why it doesn’t have ability to give such verdicts as an author desires.

The best way to solve is issue in my opinion is to introduce weak and strong verdicts for interactors. Weak verdicts are shown only if participant’s solution successfully completed. Strong verdicts are shown regardless of the execution result. Examples (solution verdict, interactor verdict, shown verdict):

OK, weak WA -> WA
ML, weak WA -> ML
TL, strong WA -> WA
RE, OK -> RE
OK, OK -> OK

Also in local competitions I distinguish verdicts from interactor and checker (participant knows what program reports an error).

So ideally for me to add support of new verdict code for which verdict message and its type would be stored in a separate file (for example, in JSON format):

{
  “ru”: "Неправильный ответ”,
  “en”: “Wrong answer”,
  “type”: “strong”
}

Any thoughts?

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