vjudge: handle same-code-submission

This commit is contained in:
undefined committed 2021-06-22 12:32:47 +08:00
1 parent 918a97f280
commit a09d7b4b70
4 files changed
+13 -6

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ export interface IBasicProvider {
content: string;
}>;
listProblem(page: number): Promise<string[]>;
submitProblem(id: string, lang: string, code: string): Promise<string>;
submitProblem(id: string, lang: string, code: string, info): Promise<string>;
waitForSubmission(id: string, next: any, end: any): Promise<void>;
}