mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: bring back vj4 support
This commit is contained in:
4 files changed
+343
-2
No files matched your search
@@ -328,6 +328,7 @@ export function readSubtasksFromFiles(files: string[], config) {
|
||||
for (const func of rule.output) {
|
||||
if (config.noOutputFile) c.output = '/dev/null';
|
||||
else c.output = func(data);
|
||||
if (c.output === file) continue;
|
||||
if (c.output === '/dev/null' || files.includes(c.output)) {
|
||||
match = true;
|
||||
if (!subtask[sid]) {
|
||||
|
||||
Reference in new issue
Block a user