mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&judge&ui: hack submission
This commit is contained in:
1 parent
07ab4f1bbd
commit
4e0c9bb00a
17 files changed
+256
-128
No files matched your search
@@ -14,6 +14,7 @@ export async function parseConfig(config: string | ProblemConfigFile = {}) {
|
||||
timeMin: Number.MAX_SAFE_INTEGER,
|
||||
timeMax: 0,
|
||||
type: cfg.type || 'default',
|
||||
hackable: cfg.validator && cfg.checker && !['default', 'strict'].includes(cfg.checker_type),
|
||||
};
|
||||
if (cfg.subType) result.subType = cfg.subType;
|
||||
if (cfg.target) result.target = cfg.target;
|
||||
|
||||
Reference in new issue
Block a user