Update languages.py

This commit is contained in:
LiYang 2020-07-11 19:23:17 +08:00 committed by GitHub
parent 087a4e7938
commit 6dda49592e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ _py3_lang_config = {
//APPEND END""", //APPEND END""",
"compile": { "compile": {
"src_name": "solution.py", "src_name": "solution.py",
"exe_name": "__pycache__/solution.cpython-35.pyc", "exe_name": "__pycache__/solution.cpython-36.pyc",
"max_cpu_time": 3000, "max_cpu_time": 3000,
"max_real_time": 10000, "max_real_time": 10000,
"max_memory": 128 * 1024 * 1024, "max_memory": 128 * 1024 * 1024,
@ -207,6 +207,6 @@ languages = [
"name": "C++", "description": "G++ 5.4", "content_type": "text/x-c++src"}, "name": "C++", "description": "G++ 5.4", "content_type": "text/x-c++src"},
{"config": _java_lang_config, "name": "Java", "description": "OpenJDK 1.8", "content_type": "text/x-java"}, {"config": _java_lang_config, "name": "Java", "description": "OpenJDK 1.8", "content_type": "text/x-java"},
{"config": _py2_lang_config, "name": "Python2", "description": "Python 2.7", "content_type": "text/x-python"}, {"config": _py2_lang_config, "name": "Python2", "description": "Python 2.7", "content_type": "text/x-python"},
{"config": _py3_lang_config, "name": "Python3", "description": "Python 3.5", "content_type": "text/x-python"}, {"config": _py3_lang_config, "name": "Python3", "description": "Python 3.6", "content_type": "text/x-python"},
{"config": _go_lang_config, "name": "Golang", "description": "Golang 1.14", "content_type": "text/x-go"}, {"config": _go_lang_config, "name": "Golang", "description": "Golang 1.14", "content_type": "text/x-go"},
] ]