r/adventofcode • • Dec 06 '20

SOLUTION MEGATHREAD -🎄- 2020 Day 06 Solutions -🎄-

NEW AND NOTEWORTHY


Advent of Code 2020: Gettin' Crafty With It

  • UNLOCKED! Go forth and create, you beautiful people!
  • Full details and rules are in the Submissions Megathread
  • Make sure you use one of the two templates!
  • Or in the words of AoC 2016: USING A TEMPLATE IS MANDATORY

--- Day 06: Custom Customs ---


Post your solution in this megathread. Include what language(s) your solution uses! If you need a refresher, the full posting rules are detailed in the wiki under How Do The Daily Megathreads Work?.

Reminder: Top-level posts in Solution Megathreads are for 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:04:35, megathread unlocked!

66 Upvotes

1.2k comments sorted by

View all comments

Show parent comment

1

u/daggerdragon Dec 06 '20

Your code is hard to read on old.reddit. Please edit it as per our posting guidelines in the wiki: How do I format code?

1

u/joey_devivre Dec 07 '20

4 space didn't work, 3 ticks didn't work, there's no markdown button, so I went with a link.

1

u/daggerdragon Dec 07 '20

I can see the Markdown around the link, so you're in the fancypants editor, not the Markdown editor. Can you edit your post (just for the screenshot) and show me a screenshot of the editor environment?

1

u/joey_devivre Dec 07 '20

If I go into old reddit, will it format properly? Ah--I found the markdown button--hidden and illegibly displayed.

1

u/daggerdragon Dec 07 '20

I see your original post was fixed and now it displays beautifully on old.reddit!

Ah--I found the markdown button--hidden and illegibly displayed.

Welcome to the hatred of new.reddit's atrocious UX/UI, young padawan :D

1

u/joey_devivre Dec 07 '20

The imgur picture of the markdown button doesn't match (my) reality. The instructions should be updated.

1

u/daggerdragon Dec 07 '20

I have dark mode on, but otherwise the layout is exactly the same as in light mode. Can you post a screenshot of your editor?

1

u/joey_devivre Dec 07 '20

https://www.echonyc.com/~jimb/pix/env.jpg

That ugly blotch to the left of the cancel button is the markdown button.

1

u/daggerdragon Dec 07 '20

That looks like you're using old.reddit already and I suspect you have RES enabled. If that's the case, well, what you see on your end is obviously not going to match the screenshot which was taken on default new.reddit without addons. :)

1

u/joey_devivre Dec 07 '20

I thought the url of old reddit was old.reddit.com and I thought they made me move to new reddit against my will. It sure looks new to me.

→ More replies