Post

day 17 is done, today was pretty cool. i was able to implement a brute-force-ish solution to part 2 but, much, much faster. part 2 ran in ~300µs, thanks to moving in reverse, bitwise shifting, and only using 0-7 kyle.so/writing/aoc-2024 #AdventOfCode

0 reposts1 like

Out of curiosity, i calculated roughly how long a truly brute force solution would take to run (on my machine with my input) and it would take ~380 days. this is ~2 seconds per 10,000,000 numbers. my answer is ~164 trillion. crazy