mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: redirect cpp to cc
This commit is contained in:
1 parent
f5226f154a
commit
c577165790
5 files changed
+5
-3
No files matched your search
@@ -12,7 +12,7 @@ export default async function readYamlCases(cfg: Record<string, any> = {}, check
|
||||
config.checker_type = cfg.checker_type || 'default';
|
||||
if (cfg.checker) {
|
||||
if (!cfg.checker.includes('.')) {
|
||||
config.checker = findFileSync(`@hydrooj/hydrojudgejudge/vendor/testlib/checkers/${cfg.checker}.cpp`, false);
|
||||
config.checker = findFileSync(`@hydrooj/hydrojudge/vendor/testlib/checkers/${cfg.checker}.cpp`, false);
|
||||
}
|
||||
if (!config.checker) config.checker = checkFile(cfg.checker, 'Cannot find checker {0}.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user