DMOJ / online-judge

A modern open-source online judge and contest platform system.
https://dmoj.ca
GNU Affero General Public License v3.0
949 stars 365 forks source link

Problem exclusion field #1536

Open Xyene opened 4 years ago

Xyene commented 4 years ago

We should add a field mapping a problem to a list of "exclusion" problems. This would solve issues where we have both standard and signature-graded IOI problems, as well as *hard variants of problems giving "double" the points for solving the hard version.

When calculating user points, the max point value between problem exclusions should be taken. The exclusions should be displayed on the problem page, probably below "Allowed languages".

quantum5 commented 4 years ago

Remember to use a symmetrical ManyToManyField on 'self'.

Ninjaclasher commented 4 years ago

Some things to remember: