Discussion thread for day 14 of the Advent of Code - https://adventofcode.com/2024/day/14
Mixed feelings about this problem. Part 1: Another fantastic math problem - Part 2: Cool concept that was not executed well (especially based on what the actual answer is).
(NOT SPOILER): Immediately below is just a hint as to what to look for when doing Part 2:
(SPOILER) Below is my solution to this problem with explanation for Part 1 and a short accounting of how incredibly lucky I got for Part 2:
Shocking to suddenly see a Christmas tree in my results. 😂 I'm very pleased to have figured out the pattern!
Part 2 is the worst Advent puzzle I have ever seen. Not the hardest, the worst. They may be going a bit harder than is reasonable on "problem cannot be solved by AI."
I sense too strong smell of 'anti-AI' from part2. Thanks to @AkimasaKajitani for hints.
(EDIT)
How to somewhat quantitatively derive answers without relying on visual aid.
Today's AoC was interesting.
P1 can be solved if think carefully without rushing. However, I rushed through it, so it took me more time than I expected.
For P2, I used Map Tool and Render Tool to create a PDF for each loop and checked them. However, after outputting 5000 loops and reviewing just a few hundred pages, my hand started cramping. During this process, I noticed that vertical and horizontal stripes occasionally appeared. By analyzing their patterns, I discovered that these stripes appeared at intervals matching the number of tiles in the horizontal and vertical numbers.
The attached PDF contains only the extracted periods of these intervals. I was able to spot the Christmas tree after reviewing just 130 pages, without having to go through thousands of pages.
Today I learned another meaning of Easter Egg .
My image
Enjoyed Part 1! Thanks to @DaisukeTsuchiya for the hint on the key to Part 2.