Day 12 done.

I really didn't like this one. Basically have to do some bounds checking "it obviously always works" or "it obviously will never work" on it to get it to work on the actual input, but it still NEVER FINISHES on the example. I'm slightly bothered that the problem is more or less unsolvable as written, but I'm really bothered by the actual solution for the input not working on the example. That's not a fun puzzle, that feels like I'm being tricked, like the puzzle was a prank on me. Leaves a real sour taste, especially being the last puzzle of this year's AoC.

#AdventOfCode #AdventOfCode2025 #AdventOfCode2025Day12 #Day12 #Rust #RustLang #Programming #CodingChallenges #AoC #AoC2025 #AoC2025Day12

2025/src/bin/day12.rs at main

2025

AxFive
Note, this was after several hours of trying to solve it in a more clever way that still didn't work, so finding out the actual answer was to not even really try was quite frustrating.
2025/src/bin/day12.rs at 8284b83e0f5b86512bb0e1117983ebcc20197fc9b56bfb25da593d2bd600f373

2025

AxFive
@taylor It does look like there's an A and a B that are in the wrong place and need to be swapped, in the explanation about the first example region (4x4). Unless I'm reading it wrong.