Fix frozen handle

This commit is contained in:
cuom1999 2023-12-03 19:54:01 -06:00
parent 1689f7ec7b
commit b02a30819f

View file

@ -109,6 +109,8 @@ class BaseContestFormat(metaclass=ABCMeta):
) )
for result in queryset: for result in queryset:
problem = str(result["problem_id"]) problem = str(result["problem_id"])
if not (self.contest.freeze_after or hidden_subtasks.get(problem)):
continue
if format_data.get(problem): if format_data.get(problem):
is_after_freeze = ( is_after_freeze = (
self.contest.freeze_after self.contest.freeze_after