judge: submit_answer

This commit is contained in:
undefined committed 2022-04-03 15:02:32 +08:00
1 parent 5c4221778e
commit 0cb5afa169
18 files changed
+191 -82

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
import PQueue from 'p-queue';
import { LangConfig } from '@hydrooj/utils/lib/lang';
import { Execute } from '../interface';
import { CopyInFile } from '../sandbox/interface';
export type Context = JudgeTaskInterface & RuntimeContext;
@@ -29,7 +30,7 @@ export interface JudgeTaskInterface {
stat: Record<string, Date>;
lang: string;
code: string;
code: CopyInFile;
tmpdir: string;
input?: string;
clean: Function[];