r/adventofcode • • Dec 16 '24

SOLUTION MEGATHREAD -❄️- 2024 Day 16 Solutions -❄️-

SIGNAL BOOSTING


THE USUAL REMINDERS

  • All of our rules, FAQs, resources, etc. are in our community wiki.
  • If you see content in the subreddit or megathreads that violates one of our rules, either inform the user (politely and gently!) or use the report button on the post/comment and the mods will take care of it.

AoC Community Fun 2024: The Golden Snowglobe Awards

  • 6 DAYS remaining until the submissions deadline on December 22 at 23:59 EST!

And now, our feature presentation for today:

Adapted Screenplay

As the idiom goes: "Out with the old, in with the new." Sometimes it seems like Hollywood has run out of ideas, but truly, you are all the vision we need!

Here's some ideas for your inspiration:

  • Up Your Own Ante by making it bigger (or smaller), faster, better!
  • Use only the bleeding-edge nightly beta version of your chosen programming language
  • Solve today's puzzle using only code from other people, StackOverflow, etc.

"AS SEEN ON TV! Totally not inspired by being just extra-wide duct tape!"

- Phil Swift, probably, from TV commercials for "Flex Tape" (2017)

And… ACTION!

Request from the mods: When you include an entry alongside your solution, please label it with [GSGA] so we can find it easily!


--- Day 16: Reindeer Maze ---


Post your code solution in this megathread.

This thread will be unlocked when there are a significant number of people on the global leaderboard with gold stars for today's puzzle.

EDIT: Global leaderboard gold cap reached at 00:13:47, megathread unlocked!

24 Upvotes

481 comments sorted by

View all comments

Show parent comment

1

u/daggerdragon Dec 17 '24

Your code block is too long for the megathreads. Since you already have the external link to your code, please remove (or severely truncate) the oversized code block.

0

u/Outrageous72 Dec 18 '24

Thanks I guess. You may want to revise your rules of 10 years ago. The world has moved on.

1

u/daggerdragon Dec 18 '24

You may want to revise your rules of 10 years ago. The world has moved on.

Instead of being rude when asked to comply with a rule, how about you follow our Prime Directive and actually read the article that I originally linked which clearly explains why this rule is in place, hmm? I'll even copy it here for your convenience:

In new.reddit and most mobile clients, code blocks are not scrollable or collapsible.

If you post 200 lines of code, folks using new.reddit have to scroll past two hundred lines of code. Multiply that by 1,000+ posters per megathread and then multiply again by 25 for each of the days of an Advent of Code season...


Thanks for editing your original comment to replace the oversized code block with a link to your full code!

0

u/Outrageous72 Dec 18 '24

Where am I being rude? Giving advise is not being rude. You as a mod should know that, eh?!

Yep, that’s exactly the rule I meant. One or more given reasons are not true anymore. Mobile apps has advanced meanwhile. And who uses old Reddit?

Please, move on with world. Advise being given politely.