Dealing with scoring

100 pts!

Scoring is a big part of the features of HHSOJ-Essential.

What's the score of each testcase?

The score of a testcase is a float from 0.0 to 1.0. Accepted are considered as 1.0 and other verdicts are considered as 0.0. If the checker returned a score, that score will be used.

What's the score of a subtask?

The score of a subtask is defined as the scheme function over the testcase scores.

For example, if in a subtask, the scores are [0,1,0.5]

Scheme

Result

min

0

max

1

sum

1.5

avg

0.5

What's the score of a submission?

The score of a submission is defined as the weighted sum of the score of each subtask.

Let the number of subtasks to be N ,score of the i-th subtask to be SiS_iand the base score ratio is BiB_i.

The score of the submission Ss=i=0NSi×BiS_s=\sum_{i=0}^{N}S_i\times B_i

When displaying, the value will be multipied by 100.

Last updated

Was this helpful?