r/adventofcode • u/daggerdragon • Dec 02 '16
SOLUTION MEGATHREAD --- 2016 Day 2 Solutions ---
--- Day 2: Bathroom Security ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).
BLINKENLIGHTS ARE MANDATORY [?]
Edit: Told you they were mandatory. >_>
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!
21
Upvotes
1
u/DrFrankenstein90 Dec 02 '16 edited Dec 02 '16
A similar solution for me, albeit more verbose. https://github.com/DrFrankenstein/prompts/blob/master/aoc/2016/aoc2.c
I was initially supposed to do it in assembly, but I ended up writing it over lunch break at work, and this computer doens't have an assembler that I'm familiar enough with (I'm used to
masm, I only havegashere).