judge: fix run analysis input (#736)

This commit is contained in:
panda authored and GitHub committed 2024-02-28 21:21:29 +08:00
1 parent c33e5d0553
commit de5f46b980
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ function judgeCase(c: NormalizedCase) {
}
if (!ctx.request.rejudged && !ctx.analysis && [STATUS.STATUS_WRONG_ANSWER, STATUS.STATUS_RUNTIME_ERROR].includes(status)) {
ctx.analysis = true;
await ctx.runAnalysis(ctx.execute, { src: ctx.input });
await ctx.runAnalysis(ctx.execute, { src: c.input });
}
return {
id: c.id,