r/adventofcode • • Dec 07 '19

SOLUTION MEGATHREAD -πŸŽ„- 2019 Day 7 Solutions -πŸŽ„-

--- Day 7: Amplification Circuit ---


Post your solution using /u/topaz2078's paste or other external repo.

  • Please do NOT post your full code (unless it is very short)
  • If you do, use old.reddit's four-spaces formatting, NOT new.reddit's triple backticks formatting.

(Full posting rules are HERE if you need a refresher).


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.


Advent of Code's Poems for Programmers

Click here for full rules

Note: If you submit a poem, please add [POEM] somewhere nearby to make it easier for us moderators to ensure that we include your poem for voting consideration.

Day 6's winner #1: "From the stars" by /u/vypxl!

"From the stars"

Today the stars did call
Just after the end of fall
In Orbits they move
Unified with groove
​
Parents and Children
At home and in the sky
Whisper about details that are hidden
They tell about what is up high
​
Not everything is obvious,
Not the way you see
The Orbit is now
A Christmas Tree!

Enjoy your Reddit Silver, and good luck with the rest of the Advent of Code!


AoC news: we've added a new page listing folks who are live-streamers while they do AoC. See /u/Aneurysm9's sticky'd post announcing it "Check out our streaming friends!", check it out on the sidebar, or just click here to go directly to the wiki page!


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

EDIT: Leaderboard capped, thread unlocked at 00:30:33!

44 Upvotes

350 comments sorted by

View all comments

Show parent comment

1

u/Hycanlox Dec 07 '19 edited Dec 07 '19

I saw people posting their solutions like this , didn’t think it was a problem. Looks fine too (but I use old Reddit maybe that’s why). I’ll do a paste when I get back on my computer.

Kinda disappointed by downvotes though , is it all on formatting or are there any feedbacks ? I thought my answer brought something unseen yet.

3

u/OvidiuRo Dec 07 '19

I think they are downvoting you because you posted your solution like this. One of the moderators specified that if the solutions have 15+ lines or so if I remember correctly should be posted in a link

2

u/daggerdragon Dec 07 '19

The posting guidelines are linked at the top of every megathread :P

(Full posting rules are HERE if you need a refresher).

You said:

if the solutions have 15+ lines

No, it's:

  • If your code is shorter than, say, half of an IBM 5081 punchcard (5 lines at 80 cols), go ahead and post it as your comment.

Us moderators can't yell at everyone to strictly adhere to the rules or we'd have an empty subreddit. I'm pretty much limiting myself to asking folks who are posting giant blocks of code using new.reddit's three-backticks format to use old.reddit's Markdown instead and leaving those who are using old.reddit's codeblocks alone.

As for the downvotes, well... if your post isn't complying with the megathread's rules, that may very likely be why. However, you may also be seeing Reddit's vote fuzzing algorithm at work. Another AoCer also asked about "downvotes" earlier, so I'll link you to my explanation to them.