diff --git a/judge/languages.py b/judge/languages.py index bcc2a3d..b8d9d36 100644 --- a/judge/languages.py +++ b/judge/languages.py @@ -22,7 +22,7 @@ int main() { "src_name": "main.c", "exe_name": "main", "max_cpu_time": 3000, - "max_real_time": 5000, + "max_real_time": 10000, "max_memory": 256 * 1024 * 1024, "compile_command": "/usr/bin/gcc -DONLINE_JUDGE -O2 -w -fmax-errors=3 -std=c11 {src_path} -lm -o {exe_path}", }, @@ -37,7 +37,7 @@ _c_lang_spj_compile = { "src_name": "spj-{spj_version}.c", "exe_name": "spj-{spj_version}", "max_cpu_time": 3000, - "max_real_time": 5000, + "max_real_time": 10000, "max_memory": 1024 * 1024 * 1024, "compile_command": "/usr/bin/gcc -DONLINE_JUDGE -O2 -w -fmax-errors=3 -std=c11 {src_path} -lm -o {exe_path}" } @@ -70,7 +70,7 @@ int main() { "src_name": "main.cpp", "exe_name": "main", "max_cpu_time": 3000, - "max_real_time": 5000, + "max_real_time": 10000, "max_memory": 512 * 1024 * 1024, "compile_command": "/usr/bin/g++ -DONLINE_JUDGE -O2 -w -fmax-errors=3 -std=c++14 {src_path} -lm -o {exe_path}", }, @@ -136,7 +136,7 @@ _py2_lang_config = { "src_name": "solution.py", "exe_name": "solution.pyc", "max_cpu_time": 3000, - "max_real_time": 5000, + "max_real_time": 10000, "max_memory": 128 * 1024 * 1024, "compile_command": "/usr/bin/python -m py_compile {src_path}", }, @@ -159,7 +159,7 @@ _py3_lang_config = { "src_name": "solution.py", "exe_name": "__pycache__/solution.cpython-35.pyc", "max_cpu_time": 3000, - "max_real_time": 5000, + "max_real_time": 10000, "max_memory": 128 * 1024 * 1024, "compile_command": "/usr/bin/python3 -m py_compile {src_path}", },