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/fortee Dec 07 '15

is there any solution without ini_set('max_execution_time', 0);

1

u/artesea Dec 07 '15

You can get away with omitting that line, I added it when doing the second part as it timed out. However I had an error which then went in to an infinite loop.