Skip to content

Contest logic

Note

This document is a work in progress

Contest parameters and variations

Common values:

  • Markdown description;
  • Name;
  • Start and end time;
  • Maximum number of submissions, per-user

Types of contests:

  • Official
  • Virtual

Participation types:

  • Normal
    • Individual user time is set to 0 seconds
    • Once a contest starts, problems are immediately visible*
      • *if both register during contest and open registration are both enabled, you still can't see the problems until you register, even if you can see the contest.
  • USACO
    • Individual user time is > 0 seconds
    • After registering for

Leaderboard types:

  • Classic (IOI)
  • ICPC

Editors and testers:

Contest timeline

  1. Contest is created and set up
    • Only the name is provided
    • Defaults to starting a week later and lasting 3 hours, but will most likely be changed
  2. Pre-contest
  3. Running contest

  4. Post-contest

Notes

  • USACO and ICPC features do not properly work together, since ICPC scores are calculated using the contest's start time instead of the user start time.