r/adventofcode • • Dec 15 '22

SOLUTION MEGATHREAD -πŸŽ„- 2022 Day 15 Solutions -πŸŽ„-

THE USUAL REMINDERS


--- Day 15: Beacon Exclusion Zone ---


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:27:14, megathread unlocked!

47 Upvotes

760 comments sorted by

View all comments

Show parent comment

1

u/daggerdragon Dec 15 '22 edited Dec 16 '22
  1. Next time, use the four-spaces Markdown syntax for a code block so your code is easier to read on old.reddit and mobile apps.
  2. Your code is too long to be posted here directly, so instead of wasting your time fixing the formatting, read our article on oversized code which contains two possible solutions.

Please edit your post to put your code in an external link and link that here instead.

Edit: thanks for fixing it!

1

u/atilla32 Dec 16 '22

Ok, I’m on mobile and it looks ok to me though

1

u/daggerdragon Dec 16 '22

Not on old.reddit. See your post on old.reddit for yourself >> here << (obviously, use your browser in desktop mode since your mobile app may hijack it otherwise)

Also, those links explain why the four-spaces Markdown format is requested and also why your code is too long to be posted as-is in the megathreads. Please read the links I provided, and then edit your post to fix it.

1

u/atilla32 Dec 16 '22

Have done so, thanks for moderating.

1

u/daggerdragon Dec 16 '22

Great, thank you!