In each task, you should submit a solution that uses standard input and output. Each task has a time limit and a memory limit. In addition, the tasks are divided into subtasks that give partial points.
Each subtask has a set of test cases, and you will get the points for the subtask if your solution passes all of its test cases. You can send multiple solutions for a task, and your final score is the highest score among them.
Grading
When you submit a solution for grading, the result for each test case is one of the following:
- ACCEPTED
- WRONG ANSWER
- TIME LIMIT EXCEEDED
- OUTPUT LIMIT EXCEEDED
- RUNTIME ERROR (for example, memory limit exceeded or unhandled exception)
You will get the points for a subtask if the result for every test case is ACCEPTED. Otherwise, you will get 0 points.
During the contest, you will see a single result for each subtask: the first result of a test case which is not ACCEPTED, or ACCEPTED if there are no other results.