Implement top-level CLI for executing solvers and dynamically fetching inputs
This commit is contained in:
11
advent_of_code/solver.py
Normal file
11
advent_of_code/solver.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class Solver(ABC):
|
||||
@abstractmethod
|
||||
def solve_part_1(self, input: str) -> None:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def solve_part_2(self, input: str) -> None:
|
||||
pass
|
Reference in New Issue
Block a user