Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

General Discussions

Discuss any topics that are not product-specific here.

Advent of Code 2021 Day 25 (BaseA Style)

jdunkerley79
ACE Emeritus
ACE Emeritus

Discussion thread for day 25 of the Advent of Code - https://adventofcode.com/2021/day/25

7 REPLIES 7
cgoodman3
14 - Magnetar
14 - Magnetar

So I will take those 40 stars, first time I've ever continued up to day 25. But then to only discover the 50th star is not available until you complete the missing 9! Hopefully will find some time to get those, but given I skipped them due to complexity on the day they were released, I'll probably be sat at 40 forever.

 

Spoiler
Main workflow
cgoodman3_0-1640424693637.png


Macro
I had too much hardcoding originally, and it took a while to debug as a result. I don't win any tool golf solutions here, but it was much easier to work through the logic breaking it out in this way.

cgoodman3_1-1640424886443.png

 

 

 

Chris
Check out my collaboration with fellow ACE Joshua Burkhow at AlterTricks.com
AkimasaKajitani
17 - Castor
17 - Castor

I got 35 stars, so I can't get star 2 in this question. If there is an available time for me, I might take remaining stars...

 

Spoiler
AkimasaKajitani_1-1640445887912.png

 


AkimasaKajitani_2-1640445912585.png

 


 

GitHub

https://github.com/AkimasaKajitani/AdventOfCode/tree/main/2021

mmontgomery
10 - Fireball
Spoiler
Workflowmmontgomery_0-1640458521572.png


Macro 

mmontgomery_1-1640458554559.png

 

 Bummed I couldn't get part 2. I have 38 stars, and a jump from 29 last year. Glad I do these to stay sharp. 

LiuZhang
9 - Comet
Spoiler
Base workflowBase workflowIterative macroIterative macroInner standard macroInner standard macro

Will try to get as many stars as possible, though now sure if I will ever get all 50 to finish it though. Some are pretty tricky.

patrick_digan
17 - Castor
17 - Castor

My macro didn't start out so ugly, but I kept having to fix bugs and making it more complex...

Spoiler

patrick_digan_1-1641268464690.png

 

Pang_Hee_Choy
12 - Quasar

finally,  i reached 50 stars. 🎉 Really enjoy to solve the puzzles.🎉

 

there have some puzzles are still in my mind.

like:

flash fish, grouping is help to reduce tons of time.

the temp/fire graph, it is a good example to use the make group tool.

decode Bin number (the one with type id and operator), it train me to build a tree.

and the day 24 challenge. it have nothing information in Alteryx forum, i have to go to reddit and develop my own solution.

 

during these 2months, thank you @patrick_digan , @SeanAdams and others people to upload the workflow. so that i have some clues when i stuck.

 

Pang_Hee_Choy_0-1643882436076.png

 

SeanAdams
17 - Castor
17 - Castor

What a lovely way to end AOC this year - very satisfying challenge, and very proud to have completed all of AOC with just base A this year!

 

Spoiler
The main canvas, like away, is a simple cleaner and a call to the main worker:

SeanAdams_0-1644674274629.png


The main worker called "Cucumber March" then iterates until there no moves possible

SeanAdams_1-1644674310398.png

 

Finally: the actual moves are done by the "Make1Move" macro

SeanAdams_2-1644674365259.png

 






Labels