Solve day 9

This commit is contained in:
Nettika
2023-12-20 20:58:01 -08:00
parent a0e96c2500
commit 3375d25b92
3 changed files with 76 additions and 1 deletions

View File

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