Skip to content

Commit 7e31f2a

Browse files
authored
Merge pull request #214 from deboer-tim/max-score
Clarify maximum score for problems
2 parents 9a87f1f + 35a97cb commit 7e31f2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Contest_API.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ Properties of problem objects:
11361136
| 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.
11371137
| code\_limit | integer | Limit in KiB on submissions for this problem. Submissions that are larger should be rejected by a CCS.
11381138
| 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`.
11401140
| 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.
11411141
| statement | array of FILE ? | Problem statement. Expected mime type is application/pdf.
11421142

@@ -1726,7 +1726,7 @@ Properties of judgement objects:
17261726
| id | ID | Identifier of the judgement.
17271727
| submission\_id | ID | Identifier of the [submission](#submissions) judged.
17281728
| 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`.
17301730
| 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`).
17311731
| start\_time | TIME | Absolute time when judgement started.
17321732
| start\_contest\_time | RELTIME | Contest relative time when judgement started.

0 commit comments

Comments
 (0)