Cleanup day 1 solution

This commit is contained in:
Nettika
2023-12-16 10:29:16 -08:00
parent 0b30503e72
commit dd52297b08
10 changed files with 169 additions and 1138 deletions

View File

@@ -2,3 +2,16 @@
__author__ = "Nettika <nettika@leaf.ninja>"
__version__ = "1.0.0"
from typing import Callable
from advent_of_code.trebuchet import (
recover_calibration_digits_and_words,
recover_calibration_digits_only,
)
Solver = Callable[[str], str]
solvers: dict[int, tuple[Solver, Solver]] = {
1: (recover_calibration_digits_only, recover_calibration_digits_and_words),
}