From c392cbd0d9259f6a6a335f8ab1583c1b66ad2c77 Mon Sep 17 00:00:00 2001 From: virusdefender Date: Sun, 22 Sep 2019 14:55:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=A4=A7=E9=83=A8=E5=88=86=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E7=9A=84=E7=BC=96=E8=AF=91=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- judge/languages.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/judge/languages.py b/judge/languages.py index 35276a1..df2da5a 100644 --- a/judge/languages.py +++ b/judge/languages.py @@ -72,9 +72,9 @@ int main() { "compile": { "src_name": "main.cpp", "exe_name": "main", - "max_cpu_time": 3000, - "max_real_time": 10000, - "max_memory": 512 * 1024 * 1024, + "max_cpu_time": 10000, + "max_real_time": 20000, + "max_memory": 1024 * 1024 * 1024, "compile_command": "/usr/bin/g++ -DONLINE_JUDGE -O2 -w -fmax-errors=3 -std=c++14 {src_path} -lm -o {exe_path}", }, "run": { @@ -87,8 +87,8 @@ int main() { _cpp_lang_spj_compile = { "src_name": "spj-{spj_version}.cpp", "exe_name": "spj-{spj_version}", - "max_cpu_time": 3000, - "max_real_time": 5000, + "max_cpu_time": 10000, + "max_real_time": 20000, "max_memory": 1024 * 1024 * 1024, "compile_command": "/usr/bin/g++ -DONLINE_JUDGE -O2 -w -fmax-errors=3 -std=c++14 {src_path} -lm -o {exe_path}" } @@ -111,8 +111,8 @@ _java_lang_config = { "compile": { "src_name": "Main.java", "exe_name": "Main", - "max_cpu_time": 3000, - "max_real_time": 5000, + "max_cpu_time": 5000, + "max_real_time": 10000, "max_memory": -1, "compile_command": "/usr/bin/javac {src_path} -d {exe_dir} -encoding UTF8" },