r/adventofcode • • 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

188 comments sorted by

View all comments

Show parent comment

1

u/WildCardJoker Dec 05 '16

Nice! I see we both used the same MD5 code.

My C# solution, part 1 and 2.

I switched out the function for a Nuget package, thinking there was something wrong with my calculations - it took nearly 3 minutes to calculate part 1. Nope, just a slow PC :) Currently sitting at over 8 minutes, waiting to complete part 2.

1

u/Tokebluff Dec 05 '16

Yes, I had that MD5 stackoverflow link in recent google searches.

Looking at your code I realize I complicated myself with some stuff, but hey, it was 5AM for me.

My laptop takes around 5 minutes to do both parts.