mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
core&ui&judge: show subtask status & score (#524)
This commit is contained in:
1 parent
26a39501c2
commit
0998982ec7
4 files changed
+43
-7
No files matched your search
@@ -331,6 +331,7 @@ export interface RecordDoc {
|
||||
contest?: ObjectId;
|
||||
|
||||
files?: Record<string, string>
|
||||
subtasks?: Record<number, SubtaskResult>;
|
||||
}
|
||||
|
||||
export interface JudgeMeta {
|
||||
@@ -547,6 +548,11 @@ export interface JudgeMessage {
|
||||
stack?: string;
|
||||
}
|
||||
|
||||
export interface SubtaskResult {
|
||||
score: number;
|
||||
status: number;
|
||||
}
|
||||
|
||||
export interface JudgeResultBody {
|
||||
key: string;
|
||||
domainId: string;
|
||||
@@ -565,6 +571,7 @@ export interface JudgeResultBody {
|
||||
message?: string | JudgeMessage;
|
||||
compilerText?: string;
|
||||
nop?: boolean;
|
||||
subtasks?: Record<number, SubtaskResult>;
|
||||
}
|
||||
|
||||
export interface Task {
|
||||
|
||||
Reference in new issue
Block a user