r/adventofcode • • Dec 07 '15

SOLUTION MEGATHREAD --- Day 7 Solutions ---

--- Day 7: Some Assembly Required ---

Post your solution as a comment. Structure your post like previous daily solution threads.

Also check out the sidebar - we added a nifty calendar to wrangle all the daily solution threads in one spot!

23 Upvotes

226 comments sorted by

View all comments

Show parent comment

1

u/nutrecht Dec 07 '15

You can and them with & 0xFFFF. I removed that bit from my code actually because it doesn't seem to have made any difference in the result.

1

u/Na_rien Dec 07 '15

thanks :D