Solve day 24.

This commit is contained in:
2024-01-23 19:53:32 -05:00
parent f132355ad5
commit 217e770a25
2 changed files with 81 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ Thanks to Eric Wastl for creating this enjoyable event.
Requires `lib.py` from [aocpy](https://git.felixm.de/felixm/aocpy) repository.
Requires `sympy` for day 24.
# Times
@@ -40,6 +42,9 @@ Requires `lib.py` from [aocpy](https://git.felixm.de/felixm/aocpy) repository.
something else before returning to the idea and it worked flawlessly.
- Day 21:
- Day 22: Not too hard, but definitely way too slow for leaderboard.
- Day 23:
- Day 24:
- Day 23: I found this fun because it required some creativity for part 2. Slow
af, of course.
- Day 24: Solve problem with sympy. I first used numpy to solve part 1 and it was
much faster than using sympy, but I lost that solution when switching to sympy.
Takes about three minutes to run for part 1 and then part 2 is under a second.
- Day 25: