mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: use case.score & normalizeSubtask API
This commit is contained in:
1 parent
310189bc4d
commit
539a1c44ce
14 files changed
+231
-201
No files matched your search
@@ -129,8 +129,8 @@ export interface FileInfo {
|
||||
export interface TestCaseConfig {
|
||||
input: string;
|
||||
output: string;
|
||||
time?: number;
|
||||
memory?: number;
|
||||
time?: string;
|
||||
memory?: string;
|
||||
score?: number;
|
||||
}
|
||||
|
||||
@@ -148,8 +148,8 @@ export enum SubtaskType {
|
||||
}
|
||||
|
||||
export interface SubtaskConfig {
|
||||
time?: number;
|
||||
memory?: number;
|
||||
time?: string;
|
||||
memory?: string;
|
||||
score?: number;
|
||||
if?: number[];
|
||||
id?: number;
|
||||
|
||||
Reference in new issue
Block a user