Add contest tester/curator (DMOJ)
This commit is contained in:
parent
06318a97e5
commit
297b8a2a36
25 changed files with 611 additions and 230 deletions
|
@ -68,3 +68,10 @@ class DefaultContestFormat(BaseContestFormat):
|
|||
|
||||
def get_problem_breakdown(self, participation, contest_problems):
|
||||
return [(participation.format_data or {}).get(str(contest_problem.id)) for contest_problem in contest_problems]
|
||||
|
||||
def get_contest_problem_label_script(self):
|
||||
return '''
|
||||
function(n)
|
||||
return tostring(math.floor(n + 1))
|
||||
end
|
||||
'''
|
Loading…
Add table
Add a link
Reference in a new issue