Files
2019/days
Parnic f9f31820ac Day 19 solution
I had some trouble with the logic of this puzzle in my head, and the visuals were too large to realistically render for me to spot-check my solution, so I kept getting part 2 wrong. I eventually realized what needed to be done to get the right answer, which was partially the realization that I needed to check +99 instead of +100, and partially that I probably didn't need to check the entire space, just the bounding points, at least for the initial filters.

And then I optimized it with a bisect instead of a linear search. Always a good idea when you need to narrow a large range to a single point.
2022-07-13 08:40:48 -05:00
..
2022-06-06 15:30:58 -05:00
2022-06-13 15:29:18 -05:00
2022-06-21 12:22:30 -05:00
2022-06-09 08:23:34 -05:00
2022-06-13 15:29:18 -05:00
2022-06-14 09:21:10 -05:00
2022-06-29 08:11:33 -05:00
2022-06-16 08:24:56 -05:00
2022-06-20 08:54:52 -05:00
2022-06-21 12:18:31 -05:00
2022-06-22 08:17:45 -05:00
2022-06-23 10:08:33 -05:00
2022-06-27 00:01:19 -05:00
2022-06-28 08:32:59 -05:00
2022-06-29 08:11:33 -05:00
2022-06-29 08:11:33 -05:00
2022-06-30 08:03:18 -05:00
2022-07-11 09:31:26 -05:00
2022-07-12 08:45:47 -05:00
2022-07-13 08:40:48 -05:00