Baseline

Calculating Points

The article will help you to understand how your points are calculated.

Problem Difficulty

Firstly, base amount of points depends on problem difficulty:

Difficulty Base Points
Easy 10 points
Medium 30 points
Hard 50 points

Time Penalty

Secondly, amount of points which depends on time penalty:

Elapsed Time / Time Limit Points Factor
>= 500 1.0
>= 100 3.0
>= 10 5.0
>= 1 8.0
< 1 10.0

E.g. if time limit is 1 second, and you run your code in less than 1 millisecond 1 / 1 < 1 -> 10.0 points

Other Rules

  • Every additional submission you get penalty:
    • e.g. if you submitted 2 times problem solution, 1 point will be taken from your final result
    • penalty is calculated till minimal amount of points for passed submission which is 1 point
    • there is no penalty for COMPILE_ERROR or WAITING - although the second should be reported to admins as it indicates platform error (if stays there for longer than 5 min)
  • Only best of your submissions per problem is considered within your score
  • In case of two people having same amount of points, the one who solved more problems will be higher in the ranking

Note: you can always verify points of your submission within problem ranking, which can be accessed on problem page