Add final ranking for superuser (ioi16 only)
This commit is contained in:
parent
6635c3ee99
commit
309b6298e2
16 changed files with 424 additions and 336 deletions
|
@ -114,7 +114,7 @@ class ICPCContestFormat(DefaultContestFormat):
|
|||
participation.format_data = format_data
|
||||
participation.save()
|
||||
|
||||
def display_user_problem(self, participation, contest_problem):
|
||||
def display_user_problem(self, participation, contest_problem, show_final=False):
|
||||
format_data = (participation.format_data or {}).get(str(contest_problem.id))
|
||||
if format_data:
|
||||
penalty = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue