Frequently Asked Questions

How are points calculated?

The points system takes the weighted sum of the top 100 submission scores on distinct problems. The score of the i^{th} problem is weighted by 0.95^i. Formally, where S represents sorted scores and P a user's base points,

\displaystyle P=\sum_{i=0}^{min(99, |S|)}{0.95^i \cdot S[i]}

To not over-penalize users who have dedicated time to solving many problems, an additive adjustment B is made to the base point value. Where N is the number of problems a user has a fully-accepted solution on,

\displaystyle B=150 \cdot (1-0.997^N)

A user's point score is then the sum of P+B.

What do the different colours that some users have mean?


Do you have any tips regarding different languages?

Yes, please check the tips page.

How is the time bonus and first try bonus calculated?

The formula for time bonus is \lfloor{\frac{P}{T} \times \frac{t}{B}}\rfloor{} where P is the number of points you received on the problem, T is the point total for the problem, t is the number of minutes before the contest end, and B is the bonus factor. For most problems B = 5, meaning that you will receive one point for every 5 minutes before the contest end, multiplied by your score as a percentage.

For first try bonus, you will receive B bonus points if you AC on your first submission. B is determined by the contest setter.

Is there an API? How do I use the API?

Yes, there is! You can find more information here.

Can I set problems on the judge?

Do you want to submit a problem to the judge? Sure! Please contact an administrator on the Discord Server for problem setting permissions.

Make sure you follow the guidelines:

  • Clear, simple problem statement
  • Test cases are accurate (they follow the proper constraints)
  • Your test cases will include the worst-case scenario
  • Problem statement should include: input and output specifications, sample input and output, problem description, and, if needed, a sample explanation describing the reason for your sample output. A perfect example of such a problem can be found here.
  • Test cases are (preferably) below 40 MB. If you need more, we recommend you to learn how to use a generator.

Keep in mind that the problem statements are generated using Markdown and LaTeX. If you don't know how to use LaTex, you can go to to view how they are used.

Any problem that does not follow the above format will simply be rejected, without explaining why, with the exception that it is a reason that is not included here, which will be specified.

While the problems are made by you, we reserve the right to change the point values accordingly.