$ time ./day06b.py input.txt
<redacted>
real 0m0.029s
user 0m0.019s
sys 0m0.010s
Better. At this point I’m probably actually seeing an issue with disk performance on WSL
Re: quadratic formula
It should have been obvious to me since I posted this and I even thought to myself that it looked parabolic
I refactored and learned a bit more about applied math, but I can’t take credit for actually realizing the quadratic formula works (but I am proud that I figured out how to fit the parameters into a formula I haven’t thought about in 20 years!)