mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge: use basename instead of parseFilename
This commit is contained in:
1 parent
7bf2e73561
commit
e9787f2ba5
8 files changed
+34
-61
No files matched your search
@@ -23,31 +23,6 @@ export interface RuntimeContext {
|
||||
executeUser?: Execute;
|
||||
}
|
||||
|
||||
export interface Config {
|
||||
type: string;
|
||||
subType?: string;
|
||||
time: string;
|
||||
memory: string;
|
||||
|
||||
subtasks?: NormalizedSubtask[];
|
||||
count?: number;
|
||||
checker_type?: string;
|
||||
detail?: boolean;
|
||||
filename?: string;
|
||||
|
||||
judge_extra_files: string[];
|
||||
user_extra_files: string[];
|
||||
template?: Record<string, [string, string]>;
|
||||
|
||||
checker?: string;
|
||||
validator?: string;
|
||||
std?: string;
|
||||
hack?: string;
|
||||
interactor?: string;
|
||||
|
||||
answers?: Record<string, [answer: string | string[], score: number]>;
|
||||
}
|
||||
|
||||
export interface ContextSubTask {
|
||||
subtask: NormalizedSubtask;
|
||||
score: number;
|
||||
|
||||
Reference in new issue
Block a user