Skip to content

Commit

Permalink
Update judge_client.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Dong123 committed Jun 4, 2024
1 parent 3a76a7c commit 4276b0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/judge_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
)
from exception import JudgeClientError
from languages import BaseLanguageConfig
from utils import ProblemIOMode
from utils import ProblemIOMode, logger

SPJ_WA = 1
SPJ_AC = 0
Expand Down Expand Up @@ -118,6 +118,7 @@ def _spj(self, in_file_path, user_out_file_path, ans_file_path):
command = shlex.split(command)
seccomp_rule_name = self._spj_config["seccomp_rule"]
seccomp_rule_name = None
logger.warning("%s\n%s\n%s", in_file_path, user_out_file_path, ans_file_path)
result = judger.run(
max_cpu_time=self._max_cpu_time * 3,
max_real_time=self._max_cpu_time * 9,
Expand Down

0 comments on commit 4276b0c

Please sign in to comment.