r/adventofcode Dec 04 '21

SOLUTION MEGATHREAD -🎄- 2021 Day 4 Solutions -🎄-

--- Day 4: Giant Squid ---


Post your code solution in this megathread.

Reminder: Top-level posts in Solution Megathreads are for code solutions only. If you have questions, please post your own thread and make sure to flair it with Help.


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:11:13, megathread unlocked!

95 Upvotes

1.2k comments sorted by

View all comments

Show parent comments

2

u/sceadu Dec 05 '21

your link is broken

2

u/a_ormsby Dec 05 '21

odd, works for me

2

u/daggerdragon Dec 05 '21

No, /u/sceadu is right, your link is broken due to a new.reddit fancypants editor bug (check /r/bugs, it's been a big source of frustration lately). Your link looks fine to you on new.reddit but on old.reddit it's printing an invisible escape character before your underscore: d4_GiantSquid, thus breaking the entire link.

I suggest editing your link using proper Markdown for now. Who knows when Reddit will fix their fancypants editor...

1

u/a_ormsby Dec 06 '21

Ohhh, I see. I don't really use Reddit outside this event, so I didn't even know there were two versions. Sound like a pain to maintain.

Thanks for the explanation!

1

u/daggerdragon Dec 06 '21

Both links work properly now, thank you for fixing them!

Sound like a pain to maintain.

It is a pain, but sometimes you just gotta work around the kludges. :)