with open('data-2023-22.txt', 'r') as f:
inp = f.read().splitlines()Advent of Code 2023 Day 22
— Day 22: Sand Slabs —
There are some falling blocks of sand and we need to disintegrate them into actual sand.
Figure how the blocks will settle based on the snapshot. Once they’ve settled, consider disintegrating a single brick; how many bricks could be safely chosen as the one to get disintegrated?
Maybe write an explanation of the solution approach here
# here's another python cell for good luckPaste part two here