draft: hack?

This commit is contained in:
undefined committed 2020-09-09 13:36:08 +08:00
1 parent cd3a426ef8
commit 8b956575ee
10 files changed
+213 -10

No files matched your search

+7 -1
View File
@@ -199,12 +199,18 @@ 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,
@@ -229,7 +235,7 @@ export interface Rdoc {
status: number,
hidden: boolean,
progress?: number,
config?: PretestConfig,
config?: RunConfig,
contest?: ContestInfo,
}