ia-toki / judgels

Modern programming contest system
https://judgels.toki.id
GNU General Public License v2.0
119 stars 24 forks source link

Make a problem not submittable #403

Open prabowo02 opened 3 years ago

prabowo02 commented 3 years ago

Users will only be allowed to read the problem, but unable to submit a solution for it.

In the case when a problem from a past contest has wrong constraints, wrong description, or wrong solution, I think it's better not to change any of the test data nor the problem statement. The main reason is to preserve the originality of the problem (noting that the problem itself was already not valid during the actual contest), and it's better to have consent from the original author for the right to modify the problem.

Problems having these issues are: OSN 2012 Maling, BNCPHS 2011 Lebak Nakal

Another reason to have this feature is to archive problems for which the grading mechanism is not supported by TLX. For example IOI 2012 Odometer, APIO 2008 Beads, SG NOI 2021 Archaeologist (some of these can actually be supported by forcing the user to follow another rule that is different from the description).

Berted commented 3 years ago

Just to add on, this could be a helpful feature to archive contests where the PDF statements exist, but not the testcases themselves.