judgels
judgels copied to clipboard
Support cloning contests
Description
For a multi-day contest, we usually create a contest for each day. Example: OSN Day 1, OSN Day 2.
For such contests, they usually share many things:
- Contestants / Problems
- Managers
- Modules
- Config
So, it is beneficial if we can clone e.g. OSN Day 1 contest into OSN Day 2 contest and have all the above pre-configured.
Possible Implementation
Add a /contests/{jid}/clone
endpoint, that takes a list of things to clone to the new contest.