Implement top-level CLI for executing solvers and dynamically fetching inputs

This commit is contained in:
Nettika
2023-12-15 23:46:15 -08:00
parent 2cd901b1de
commit 0b30503e72
4 changed files with 91 additions and 2 deletions

11
advent_of_code/solver.py Normal file
View 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