Fear_Is_An_Illusion's blog

By Fear_Is_An_Illusion, history, 9 years ago, In English

how are these submissions judged ? do they reverse run taking the output as input and see if it satisfies the original input conditions ?

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Yes

»
9 years ago, # |
  Vote: I like it +16 Vote: I do not like it

There is a special program (called 'checker') which, given input, desired answer and participant's output generate an outcome. Here you can read about testlib — library that is used on Codeforces to write checkers.

Sometimes check is straightforward, sometimes checking an answer for correctness is a separate interesting problem.