From c44009be1a940c0a94a35bf0943c378637cbe48d Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 26 Oct 2020 15:52:32 -0500 Subject: [PATCH] Atcoder's total score only --- judge/contest_format/atcoder.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/contest_format/atcoder.py b/judge/contest_format/atcoder.py index 7a1ae8c..cad4e97 100644 --- a/judge/contest_format/atcoder.py +++ b/judge/contest_format/atcoder.py @@ -100,7 +100,7 @@ class AtCoderContestFormat(DefaultContestFormat): penalty = format_html(' ({penalty})', penalty=floatformat(format_data['penalty'])) if format_data['penalty'] else '' return format_html( - '{points}{penalty}
{time}
', + '{points}{penalty}
{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', @@ -110,4 +110,4 @@ class AtCoderContestFormat(DefaultContestFormat): time=nice_repr(timedelta(seconds=format_data['time']), 'noday'), ) else: - return mark_safe('') + return mark_safe('')