r/adventofcode • u/daggerdragon • Dec 05 '16
SOLUTION MEGATHREAD --- 2016 Day 5 Solutions ---
--- Day 5: How About a Nice Game of Chess? ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).
STAYING ON TARGET IS 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!
14
Upvotes
View all comments
Show parent comment
2
u/willkill07 Dec 05 '16
Oh god, what have I done? I was able to parallelize using
std::threadand now it goes too fast for me to appreciate the video time to solution :( (1166.65557ms)Code: https://github.com/willkill07/adventofcode2016/blob/master/src/Day05.cpp
Video: http://www.eecis.udel.edu/~wkillian/Day05-Parallel.mov