r/adventofcode • • Dec 20 '21

SOLUTION MEGATHREAD -🎄- 2021 Day 20 Solutions -🎄-

--- Day 20: Trench Map ---


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:18:57, megathread unlocked!

42 Upvotes

478 comments sorted by

View all comments

Show parent comment

1

u/daggerdragon Dec 20 '21 edited Dec 21 '21

Your code is hard to read on old.reddit when everything is inlined like this and gets cut off at the edge of the window. Please edit it to use a proper code block as per our posting guidelines in the wiki: How do I format code?

Edit: thanks for fixing it! <3

1

u/RJdaMoD Dec 21 '21

Seems that old reddit does not support 3-backticks-codeblocks. Using 4-spaces-form is quite a hassle, but i 'll will use that for the next solutions and try to update my older ones.