Shortest gap between * and ** today, and fastest overall solve (started at 5:15am) (excluding day 1 where I can't remember when I started, but was probably the fastest day overall).
Macro:
It was much simpler than I thought, I was imagining that we were going to head back into monitoring germinating flowers in space (I think 2018?), and that the part two logic wouldn't just be a case of iterating over more days (added interface tool after the solve), but instead that there would be some need to keep track of generations as older fish might end up with longer gestation periods or something like that. So far AoC is being kind...
@bflick good to see another PwC’er at the top of the leaderboard 👏
I'm sure there is a math way to solve this, and given enough time I am sure I could have googled it... but today is not that day. Iterative macro it is!
And the macro...
Super stoked about how this one ended up. Only 14 tools used, and the 256 day iteration runs in less than 1 second!! I love it when an iterative macro plan comes together...
Cheers!
NJ
Wow, the lanternfish really did take over...
Today is reflection.
But at star2, it takes too long time and finally this macro could not output the result. Because too many data kept me away.
After finishing the result, I made the macro bellow to be able to change the iterative count.
Final Workflow :
GitHub
https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021