diff --git a/src/runner/run.ts b/src/runner/run.ts index f37c284..de079c7 100644 --- a/src/runner/run.ts +++ b/src/runner/run.ts @@ -64,8 +64,8 @@ export async function runProgram(language: Language, const dataDir_Sandbox = '/sandbox/1'; const binDir_Sandbox = '/sandbox/2'; - // 最大时间增加10倍 - const runConfig = language.run(binDir_Sandbox, dataDir_Sandbox, time * 10, memory, stdinFile, stdoutFile, stderrFile); + + const runConfig = language.run(binDir_Sandbox, dataDir_Sandbox, time, memory, stdinFile, stdoutFile, stderrFile); const sandboxParam = sandboxize(runConfig, [{ src: binDir,