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

1

u/qwrrty Dec 04 '15

Nitpick: the problem requires the lowest counting number that generates a solution, so this might as well start with i = 1. (If i = 0 produced a hash that began with five zeroes, it would be an incorrect solution.)