__vayper's blog

By __vayper, history, 5 years ago, In English

I am making a problem on Polygon. The problem has multiple solutions but i don't know how to do it ? I already know that the type "Main correct solution" creates the judge's solution. but that only creates one possibility. Can someone help me please.

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

| Write comment?
»
5 years ago, # |
  Vote: I like it +9 Vote: I do not like it

The solution files tab allows you to add different file submissions with different verdicts. The main solution it is only used to generate the output for each test case.

If you go to the checker tab, then you will be able to add a checker. This file is intended to read the Main solution answer and the participant's answer to compare them. So, in this file (the checker) you should check whether the participant's solution is ok or is wrong by reading the answer and check if it is a valid solution, depending on your problem.

Take a look at the examples to see how to read the author and participant's answers:

Github examples

Compare a single integer from author's solution with participant's solution