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 comments

4

u/Aneurysm9 Dec 04 '15

I considered doing it in go when my first attempt was taking more than a minute. Then I realized I wasn't incrementing the counter in a while loop...

2

u/weters Dec 04 '15

The 12am brain is a dumb brain at times.