添加宽松判题的client

This commit is contained in:
sxw@401
2015-09-05 21:09:02 +08:00
parent 4d12914e8e
commit 49643c661a
2 changed files with 171 additions and 1 deletions

View File

@@ -2,8 +2,15 @@
import sys
import json
import MySQLdb
import os
# 判断判题模式
judge_model = os.environ.get("judge_model", "default")
if judge_model == "default":
from client import JudgeClient
elif judge_model == "loose":
from loose_client import JudgeClient
from client import JudgeClient
from language import languages
from compiler import compile_
from result import result