From 4c3441b197422b4cf15dff0011cbf8aa4e7f09e0 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sun, 27 Dec 2020 21:05:22 -0600 Subject: [PATCH] Total score only for IOI --- judge/contest_format/ioi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/contest_format/ioi.py b/judge/contest_format/ioi.py index ac84c4b..c75d707 100644 --- a/judge/contest_format/ioi.py +++ b/judge/contest_format/ioi.py @@ -80,7 +80,7 @@ class IOIContestFormat(DefaultContestFormat): format_data = (participation.format_data or {}).get(str(contest_problem.id)) if format_data: return format_html( - '{points}
{time}
', + '{points}
{time}
', state=(('pretest-' if self.contest.run_pretests_only and contest_problem.is_pretested else '') + self.best_solution_state(format_data['points'], contest_problem.points)), url=reverse('contest_user_submissions', @@ -89,7 +89,7 @@ class IOIContestFormat(DefaultContestFormat): time=nice_repr(timedelta(seconds=format_data['time']), 'noday') if self.config['cumtime'] else '', ) else: - return mark_safe('') + return mark_safe('') def display_participation_result(self, participation): return format_html(