diff --git a/judge/contest_format/base.py b/judge/contest_format/base.py index bea3db4..3b47e59 100644 --- a/judge/contest_format/base.py +++ b/judge/contest_format/base.py @@ -109,6 +109,8 @@ class BaseContestFormat(metaclass=ABCMeta): ) for result in queryset: problem = str(result["problem_id"]) + if not (self.contest.freeze_after or hidden_subtasks.get(problem)): + continue if format_data.get(problem): is_after_freeze = ( self.contest.freeze_after