Scoring Algorithm
The scoring algorithm (SA) is the method used to rank teams. This article describes the default scoring algorithm. Certain scoring settings can be changed, see Scoring Properties.
Contents
How teams are ranked
Each contest has its own rules about how the teams are ranked. This article describes the default way that PC² ranks teams.
Teams are rank based on the following:
- the team solving most problems
- tie-breaker 1: lowest penalty points
- tie-breaker 2: fastest last yes judgement run
Within a rank, PC² will sort the team names lexically then by number at end of name, if names are identical. For example team10 will be after team2, a lexical sort would order team2 after team10.
Penalty Points
The default PC² scoring algorithm calculates penalty points as follows:
For each Solved problem (Yes judgement):
- 20 points for each No judgement before the first Yes judgement
- 1 point per minute the elapsed time
No penalty points are added for any runs a problem that is not solved.
Example 1
Rank | Team Name | Solved | Points |
---|---|---|---|
1 | team3 | 3 | 126 |
2 | team1 | 1 | 70 |
3 | team2 | 1 | 70 |
4 | team4 | 0 | 0 |
Team | Problem | Elapsed time | Judgement |
---|---|---|---|
team1 | A | 12 | No |
team1 | A | 22 | No |
team1 | A | 30 | Yes |
team2 | D | 12 | No |
team2 | D | 50 | Yes |
team3 | A | 22 | Yes |
team3 | C | 49 | Yes |
team3 | B | 55 | Yes |
team4 | B | 23 | No |
Tie Breaker:
Team 1 is rank 2 because the last Yes judgment was at elapsed time as 30
minutes, whereas Team 2 last Yes judgment was at elapsed time as 50 minutes.
Team 3's Penalty Points details
Penalty points for Problem A: 22
Penalty points for Problem B: 55
Penalty points for Problem C: 49
Team 1's Penalty Points details
Penalty points for Problem A: 70 = 30 + (20 * 2)
Penalty points for Problem B: 0 (not solved)
Penalty points for Problem C: 0 (not solved)
Team 2's Penalty Points details
Penalty points for Problem A: 70 = 50 + (20 * 1)
Penalty points for Problem B: 0 (not solved)
Penalty points for Problem C: 0 (not solved)
Team 4's Penalty Points details
Penalty points for Problem A: 0 (not solved)
Penalty points for Problem B: 0 (not solved)
Penalty points for Problem C: 0 (not solved)
Example 2
Rank | Team Name | Solved | Points |
---|---|---|---|
1 | team5 | 3 | 460 |
2 | team1 | 0 | 0 |
2 | team2 | 0 | 0 |
2 | team3 | 0 | 0 |
2 | team4 | 0 | 0 |
Team | Problem | Elapsed time | Judgement |
---|---|---|---|
team5 | A | 10 | No |
team5 | B | 22 | No |
team5 | A | 40 | No |
team5 | D | 41 | No |
team5 | B | 45 | Yes |
team5 | B | 50 | No |
team5 | D | 72 | No |
team5 | D | 140 | Yes |
team5 | C | 215 | Yes |
In this example team5 has solved 3 problems with 460 penalty points.
Penalty points for Problem A: 0 (not solved)
Penalty points for Problem B: 65 = 45 + (20 * 1)
Penalty points for Problem C: 215 = 215
Penalty points for Problem D: 180 = 140 + (20 * 2)