Adjust solvers to return integer

This commit is contained in:
Nettika
2023-12-16 16:44:55 -08:00
parent ffa9ebcf53
commit 54271e0a2c
7 changed files with 30 additions and 51 deletions

View File

@@ -7,7 +7,7 @@ from typing import Callable
from advent_of_code import cubes, trebuchet, gears
Solver = Callable[[str], str]
Solver = Callable[[str], int]
solvers: dict[int, tuple[Solver, Solver]] = {