core: 支持限制题目的提交语言

This commit is contained in:
undefined committed 2021-05-18 23:38:58 +08:00
1 parent f33d440b68
commit 75429bb43b
10 files changed
+44 -25

No files matched your search

+14 -13
View File
@@ -143,19 +143,20 @@ export interface SubtaskConfig {
}
export interface ProblemConfig {
type?: ProblemType,
score?: number,
time?: string,
memory?: string,
filename?: string,
checker_type?: string,
checker?: string,
interactor?: string,
user_extra_files?: string[],
judge_extra_files?: string[],
outputs?: [string, number][],
cases?: TestCaseConfig[],
subtasks?: SubtaskConfig[],
type?: ProblemType;
score?: number;
time?: string;
memory?: string;
filename?: string;
checker_type?: string;
checker?: string;
interactor?: string;
user_extra_files?: string[];
judge_extra_files?: string[];
outputs?: [string, number][];
cases?: TestCaseConfig[];
subtasks?: SubtaskConfig[];
langs?: string[];
}
export interface PlainContentNode {