add testcases.

This commit is contained in:
2023-03-29 09:36:33 +08:00
parent 05c85fd9b0
commit d5cd060fd0
3 changed files with 153 additions and 65 deletions

View File

@@ -262,3 +262,18 @@ export interface ContestRank {
submission_info: { [key: string]: SubmissionInfo }
contest: number
}
export interface TestcaseUploadedReturns {
id: string
info: Testcase[]
spj: boolean
}
export interface Testcase {
stripped_output_md5: string
input_size: number
output_size: number
input_name: string
output_name: string
score?: string
}