r/adventofcode • • Dec 15 '16

SOLUTION MEGATHREAD --- 2016 Day 15 Solutions ---

--- Day 15: Timing is Everything ---

Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).

Note: The Solution Megathreads are for solutions only. If you have questions, please post your own thread and make sure to flair it with "Help".


ZAMENHOFA TAGO ESTAS DEVIGA [?]

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!

5 Upvotes

121 comments sorted by

View all comments

Show parent comment

2

u/pedrosorio Dec 15 '16

Yeah, I was going to hardcode, but I have 3 short lines of parsing logic so I felt it was worth it.

I was also anticipating part 2 to contain a few more discs and thought that would give me an advantage :P.

2

u/glacialOwl Dec 15 '16

I was expecting something along the lines

Disc #214 has 14 positions; at time=4, it is at position 7.

or something... Not sure why we were given the time for each of the discs since all of the descriptions seemed to be given at time=0 :/

2

u/pedrosorio Dec 15 '16

Ah, yes. That would have added some flavor to the problem. The biggest disappointment for me was that part 2 didn't really increase the difficulty.

I often feel like there should be part 3 to these challenges, but I guess that's what Upping the Ante is for :D