From 22303df3ef6ca3670283cb5c4ca4ddf8f8879820 Mon Sep 17 00:00:00 2001 From: richie Date: Mon, 1 Jul 2019 12:52:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E6=97=B6=E6=8F=90=E9=86=92=E4=BD=86?= =?UTF-8?q?=E5=85=81=E8=AE=B8=E5=AE=9E=E8=A1=8C=EF=BC=8C=E6=9C=80=E5=A4=9A?= =?UTF-8?q?=E5=85=81=E8=AE=B810=E5=80=8D=E7=9A=84=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/runner/judge.ts | 1 + 1 file changed, 1 insertion(+) 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,