r/adventofcode • u/taliriktug • Dec 02 '15
Spoilers Day 2 solutions
Hi! I would like to structure posts like the first one in r/programming, please post solutions in comments.
15
Upvotes
r/adventofcode • u/taliriktug • Dec 02 '15
Hi! I would like to structure posts like the first one in r/programming, please post solutions in comments.
View all comments
Show parent comment
2
u/PM_ME_INSIDER_INFO Dec 03 '15
Just FYI instead of doing:
You could just do:
And then you already know what the smallest, mid, and largest are.