Implement 2024 day 22

This commit is contained in:
2024-12-22 12:03:44 +01:00
parent be2244eca9
commit 230b4ae028
4 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
1
10
100
2024

View File

@@ -0,0 +1,4 @@
1
2
3
2024

11
2024/tests/test_day22.py Normal file
View File

@@ -0,0 +1,11 @@
from aoc.days.day22 import DayRunner
from . import get_data
def test_sample_part1() -> None:
assert DayRunner.part1(get_data(22, 1)) == 37327623
def test_sample_part2() -> None:
assert DayRunner.part2(get_data(22, 2)) == 23