You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Contest_API.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1136,7 +1136,7 @@ Properties of problem objects:
1136
1136
| output\_limit | integer | Limit in MiB on what the submission can write both to `stdout` and `stderr`. If a submission produces more output, a CCS should fail the submission or ignore output beyond this limit.
1137
1137
| code\_limit | integer | Limit in KiB on submissions for this problem. Submissions that are larger should be rejected by a CCS.
1138
1138
| test\_data\_count | integer | Number of test data sets.
1139
-
| max\_score | number | Maximum expected score, although teams may score higher in some cases. Typically used to indicate scoreboard cell color in scoring contests. Required iff contest:scoreboard\_type is `score`.
1139
+
| max\_score | number | Maximum score. Typically used to determine scoreboard cell color. Required iff contest:scoreboard\_type is `score`.
1140
1140
| package | array of FILE ? | [Problem package](https://www.kattis.com/problem-package-format/). Expected mime type is application/zip. Only exactly one package is allowed. Not expected to actually contain href for package during the contest, but used for configuration and archiving.
1141
1141
| statement | array of FILE ? | Problem statement. Expected mime type is application/pdf.
1142
1142
@@ -1726,7 +1726,7 @@ Properties of judgement objects:
1726
1726
| id | ID | Identifier of the judgement.
1727
1727
| submission\_id | ID | Identifier of the [submission](#submissions) judged.
1728
1728
| judgement\_type\_id | ID ? | The [verdict](#judgement-types) of this judgement. Required iff judgement has completed.
1729
-
| score | number | Score for this judgement. Required iff contest:scoreboard\_type is `score`.
1729
+
| score | number | Score for this judgement, between `0` and the problem's `max_score`. Required iff contest:scoreboard\_type is `score`.
1730
1730
| current | boolean ? | `true` if this is the current judgement. Defaults to `true`. At any time, there must be at most one judgement per submission for which this `true` or unset (and thus defaulting to `true`).
1731
1731
| start\_time | TIME | Absolute time when judgement started.
1732
1732
| start\_contest\_time | RELTIME | Contest relative time when judgement started.
0 commit comments