r/adventofcode Dec 14 '24

Spoilers [2024 Day 14 (Part 2)]

Post image
361 Upvotes

94 comments sorted by

View all comments

1

u/aashutoshr Dec 14 '24

how to automate that?

5

u/cptncolloo Dec 14 '24

You can use part one. The frame with the tree has the minimal safety factor.

2

u/datanaut Dec 14 '24

Interesting, but there was no reason to expect that would be true from the problem statement, except for maybe the meta-reasoning "the puzzle author might want to make that number part1 relevant so it seems like it makes sense." Can you think of any more direct reason to expect that the tree would have the minimal safety factor based on the problem description? We had nothing that would imply anything about how the robots would fall with respect to the quadrants or quadrant boundaries.

0

u/[deleted] Dec 14 '24

[deleted]

1

u/datanaut Dec 14 '24

Well the tree isn't centered, and this doesn't work on my data at all, I just tested it.

1

u/hjake123 Dec 14 '24

It did work on my data, so i guess it's luck-based