mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-01-16 17:49:59 +00:00
使用judger中的常量替换magic number
This commit is contained in:
parent
dd96727361
commit
5e529869df
@ -137,7 +137,7 @@ class JudgeClient(object):
|
||||
run_result["result"] = _judger.RESULT_WRONG_ANSWER
|
||||
elif spj_result == SPJ_ERROR:
|
||||
run_result["result"] = _judger.RESULT_SYSTEM_ERROR
|
||||
run_result["error"] = -11
|
||||
run_result["error"] = _judger.ERROR_SPJ_ERROR
|
||||
else:
|
||||
run_result["output_md5"], is_ac, run_result["output"] = self._compare_output(test_case_file_id)
|
||||
# -1 == Wrong Answer
|
||||
|
Loading…
x
Reference in New Issue
Block a user