Fix bug
This commit is contained in:
parent
07d5ad2216
commit
6c1d0c7672
2 changed files with 3 additions and 7 deletions
|
@ -11,14 +11,13 @@ class abstractclassmethod(classmethod):
|
|||
|
||||
|
||||
class BaseContestFormat(metaclass=ABCMeta):
|
||||
has_hidden_subtasks = False
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self, contest, config):
|
||||
self.config = config
|
||||
self.contest = contest
|
||||
|
||||
# Use in ioi16 to display ranking with hidden subtasks
|
||||
self.has_hidden_subtasks = False
|
||||
|
||||
@abstractproperty
|
||||
def name(self):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue