Skip to content

Commit

Permalink
fix spj bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmingyi1998 authored Sep 2, 2020
1 parent 6e7a708 commit abf2a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/judger.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __call__(self) -> List[Dict]:
if run_result['result'] != _judger.RESULT_SUCCESS:
results.append(run_result)
return results
if not self.compare(case_id):
if not self.compare(case_id, input_path if self.spj else None):
run_result['result'] = _judger.RESULT_WRONG_ANSWER
results.append(run_result)
return results
Expand Down

0 comments on commit abf2a20

Please sign in to comment.