From abf2a205a91410fcc9df22157166cd5a015f58e3 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Wed, 2 Sep 2020 09:47:12 +0800 Subject: [PATCH] fix spj bug --- Server/judger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/judger.py b/Server/judger.py index ae5af19..3c10951 100644 --- a/Server/judger.py +++ b/Server/judger.py @@ -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