diff --git a/src/runner/judge.ts b/src/runner/judge.ts index 388a9b0..c881f70 100644 --- a/src/runner/judge.ts +++ b/src/runner/judge.ts @@ -171,6 +171,7 @@ export async function judgeStandard(task: StandardRunTask) const [resultPromise] = await runProgram(language, binaryDirectory, workingDir, + // 容许程序最高执行时间超过设定时间的10倍,方便选手了解自己的算法举例要求有多远 task.time * 10, task.memory * 1024 * 1024, stdinRedirectionName,