r/adventofcode • • Dec 04 '15

SOLUTION MEGATHREAD --- Day 4 Solutions ---

--- Day 4: The Ideal Stocking Stuffer ---

Post your solution as a comment. Structure your post like the Day Three thread.

14 Upvotes

272 comments sorted by

View all comments

Show parent comment

3

u/HawkUK Dec 04 '15

I'm glad I've found someone else using R :).

Took me a while to figure out where I was going wrong before I came across 'serialize'. Basically did the same as you.

2

u/TeamOnTheBack Dec 04 '15

YES the serialize issue was so annoying. I got an answer which didn't work so I tried the examples and I was getting completely different md5 hashes. But eventually I found a Stack Exchange post saying to use serialize = FALSE.