mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
judge: fix run analysis input (#736)
This commit is contained in:
1 parent
c33e5d0553
commit
de5f46b980
1 file changed
+1
-1
@@ -58,7 +58,7 @@ function judgeCase(c: NormalizedCase) {
|
|||||||
}
|
}
|
||||||
if (!ctx.request.rejudged && !ctx.analysis && [STATUS.STATUS_WRONG_ANSWER, STATUS.STATUS_RUNTIME_ERROR].includes(status)) {
|
if (!ctx.request.rejudged && !ctx.analysis && [STATUS.STATUS_WRONG_ANSWER, STATUS.STATUS_RUNTIME_ERROR].includes(status)) {
|
||||||
ctx.analysis = true;
|
ctx.analysis = true;
|
||||||
await ctx.runAnalysis(ctx.execute, { src: ctx.input });
|
await ctx.runAnalysis(ctx.execute, { src: c.input });
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
id: c.id,
|
id: c.id,
|
||||||
|
|||||||
Reference in new issue
Block a user