Skip to content

Commit

Permalink
Update score times as well
Browse files Browse the repository at this point in the history
As per discussion on today's clics call, updating the scoreboard score times to RELTIME as well.
  • Loading branch information
deboer-tim committed Jul 10, 2023
1 parent 4293cb7 commit 958cab5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Contest_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2178,9 +2178,9 @@ Properties of scoreboard row objects:
| team\_id | ID | Identifier of the [ team](#teams).
| score | object | JSON object as specified in the rows below (for possible extension to other scoring methods).
| score.num\_solved | integer | Number of problems solved by the team. Required iff contest:scoreboard\_type is `pass-fail`.
| score.total\_time | integer | Total penalty time accrued by the team. Required iff contest:scoreboard\_type is `pass-fail`.
| score.total\_time | RELTIME | Total penalty time accrued by the team. Required iff contest:scoreboard\_type is `pass-fail`.
| score.score | number | Total score of problems by the team. Required iff contest:scoreboard\_type is `score`.
| score.time | integer | Time of last score improvement used for tiebreaking purposes.
| score.time | RELTIME | Time of last score improvement, used for tiebreaking purposes.
| problems | array of problem data objects ? | JSON array of problems with scoring data, see below for the specification of each object.

Properties of problem data objects:
Expand Down Expand Up @@ -2215,12 +2215,12 @@ Returned data:
"end_of_updates": null
},
"rows": [
{"rank":1,"team_id":"123","score":{"num_solved":3,"total_time":340},"problems":[
{"rank":1,"team_id":"123","score":{"num_solved":3,"total_time":"5:40:00"},"problems":[
{"problem_id":"1","num_judged":3,"num_pending":1,"solved":false},
{"problem_id":"2","num_judged":1,"num_pending":0,"solved":true,"time":20},
{"problem_id":"3","num_judged":2,"num_pending":0,"solved":true,"time":55},
{"problem_id":"2","num_judged":1,"num_pending":0,"solved":true,"time":"0:20:00"},
{"problem_id":"3","num_judged":2,"num_pending":0,"solved":true,"time":"0:55:00"},
{"problem_id":"4","num_judged":0,"num_pending":0,"solved":false},
{"problem_id":"5","num_judged":3,"num_pending":0,"solved":true,"time":205}
{"problem_id":"5","num_judged":3,"num_pending":0,"solved":true,"time":"3:25:00"}
]}
]
}
Expand Down

0 comments on commit 958cab5

Please sign in to comment.