修改判题设置;增加web 和 mongodb 数据库的操作

This commit is contained in:
virusdefender
2015-08-12 14:01:34 +08:00
parent 8979def927
commit 88be032a38
19 changed files with 127 additions and 46 deletions

View File

@@ -2,21 +2,21 @@
languages = {
"1": {
1: {
"name": "c",
"src_name": "main.c",
"code": 1,
"compile_command": "gcc -DONLINE_JUDGE -O2 -w -std=c99 -pipe {src_path} -lm -o {exe_path}main",
"execute_command": "{exe_path}main"
},
"2": {
2: {
"name": "cpp",
"src_name": "main.cpp",
"code": 2,
"compile_command": "g++ -DONLINE_JUDGE -O2 -w -std=c++11 -pipe {src_path} -lm -o {exe_path}main",
"execute_command": "{exe_path}main"
},
"3": {
3: {
"name": "java",
"src_name": "Main.java",
"code": 3,