Cleanup day 3 solution

This commit is contained in:
Nettika
2023-12-16 16:25:05 -08:00
parent d8d7778cab
commit ffa9ebcf53
8 changed files with 56 additions and 212 deletions

View File

@@ -5,7 +5,7 @@ __version__ = "1.0.0"
from typing import Callable
from advent_of_code import cubes, trebuchet
from advent_of_code import cubes, trebuchet, gears
Solver = Callable[[str], str]
@@ -13,4 +13,5 @@ Solver = Callable[[str], str]
solvers: dict[int, tuple[Solver, Solver]] = {
1: (trebuchet.solve_part_1, trebuchet.solve_part_2),
2: (cubes.solve_part_1, cubes.solve_part_2),
3: (gears.solve_part_1, gears.solve_part_2),
}