mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: 修复自测不提供输入数据会进入评测流程的问题
This commit is contained in:
1 parent
bb856bacce
commit
33aaf1f2ea
8 files changed
+20
-45
No files matched your search
@@ -226,18 +226,6 @@ export interface TestCase {
|
||||
message: string,
|
||||
}
|
||||
|
||||
export interface HackConfig {
|
||||
hack: string,
|
||||
}
|
||||
|
||||
export interface PretestConfig {
|
||||
time?: string,
|
||||
memory?: string,
|
||||
input: string,
|
||||
}
|
||||
|
||||
export type RunConfig = HackConfig | PretestConfig;
|
||||
|
||||
export interface ContestInfo {
|
||||
type: 30 | 60,
|
||||
tid: ObjectID,
|
||||
@@ -262,7 +250,7 @@ export interface Rdoc {
|
||||
status: number,
|
||||
hidden: boolean,
|
||||
progress?: number,
|
||||
config?: RunConfig,
|
||||
input?: string,
|
||||
contest?: ContestInfo,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user