Skip to content

Problem and Subtasks

Thang Pham edited this page Apr 14, 2020 · 2 revisions

Problems differ in two options: Scoring Modes and Penalty Policy.

A subtask of a problem also has the Scoring Modes option.

You can change a problem's scoring mode and penalty policy in the Problem Edit or a subtask's scoring mode in the Edit Test Group form in the Admin Panel.

Caution: After changing a problem's Scoring Mode or Penalty Policy or a subtask's Scoring Modes, please run [Recalculate Score] on all submissions of the problem or the subtask!

Note: A compile-failed submission is not considered and doesn't have penalty or score.

Problem

Problem Scoring Modes

There are five types of a problem's Scoring Modes.

problem scoring modes

Best

The submission with the highest score is chosen and if on a tie, the one with the lowest penalty is chosen.

Min

The submission with the lowest score is chosen and if on a tie, the one with the highest penalty is chosen.

Once

The first submission is chosen.

Last Submission

The last submission is chosen.

Decay

The last submission is chosen.

The score is modified by the number of submissions before it (0.1 * count), and the time passed (0.7 * time passed in %), to a minimum of 0.3 times the original.

Penalty Policy

There are three types of a problem's Penalty Policy.

penalty policy

None

There is no penalty.

Submission Time

Penalty of a submission is the number of minutes (rounded up) from the start of the contest.

ICPC Style

Penalty of a submission is the its submission time + 20 * number of failed submissions before it.

Subtask

Subtask Scoring Modes

There are three types of a subtask's Scoring Modes.

subtask scoring modes

Sum

The score of the group is (sum of test scores / # of tests) * (group score).

Min

The score of the group = min(score of each test) * (group score).

Product

The score of the group = product(score of each test) * (group score).