Advent of Code 2023 - Day 22

Опубликовано: 01 Март 2026
на канале: Jonathan Paulson
1,602
20

I placed 89th on part 1; 68th on part 2; now 5th overall.

Pretty straightforward brute force.

I had a nasty bug on part 1 that took me a while to find; a block can't fall if there's a block below it, but a vertical block shouldn't stop itself from falling. I also had some issues resetting the state between blocks on part 2.

Problem: https://adventofcode.com/2023/day/22
Solution: https://github.com/jonathanpaulson/Ad...