r/adventofcode • • Dec 16 '18

SOLUTION MEGATHREAD -🎄- 2018 Day 16 Solutions -🎄-

--- Day 16: Chronal Classification ---


Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag or 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.


Advent of Code: The Party Game!

Click here for rules

Please prefix your card submission with something like [Card] to make scanning the megathread easier. THANK YOU!

Card prompt: Day 16

Transcript:

The secret technique to beat today's puzzles is ___.


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:39:03!

17 Upvotes

139 comments sorted by

View all comments

Show parent comment

1

u/algmyr Dec 16 '18

Fair enough. I'm a python guy myself, so I get the issues with subtle bugs. What is a generator and what's not between python2 and python3 can catch you off guard. Also stupid things like min(0,None) being valid in 2 but not 3 is weird.

Don't tell me lua is another language that chooses to have double for all numbers... I kinda hoped that was contained to the likes of js. Not a fan, although I guess it makes sense considering that lua is deliberately minimal.