online-judge icon indicating copy to clipboard operation
online-judge copied to clipboard

IOI Contest Format does not rescale batch points

Open kiritofeng opened this issue 3 years ago • 0 comments

https://github.com/DMOJ/online-judge/blob/master/judge/contest_format/ioi.py#L79

The IOI contest format adds up the scores of each batch. This does not work when the total points on the problem (out of contest) does not equal the points the contest is worth in-contest.

The solution is to also grab the out-of-contest denominator, and convert it to the contest denominator.

Additional todo:

  • [ ] check if it treats all unbatched cases as a single "subtask"

kiritofeng avatar Mar 20 '21 17:03 kiritofeng