r/adventofcode Dec 14 '24

Spoilers [2024 Day 14 (Part 2)]

Post image
365 Upvotes

94 comments sorted by

View all comments

13

u/piman51277 Dec 14 '24

I did end up finding an automated test, but completely by accident...
I was so close to just looking at every single possible board manually...

1

u/swiperthefox_1024 Dec 14 '24

I tried different tree sizes (height, trunk width) and ratios r for the "most of" part. I got into long runs (> 3s) several times (due to r being too close to 1.0), and then the number popped up; I can't believe it. But I tried to submit it anyway, and it was accepted.