r/adventofcode • • 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

161 comments sorted by

View all comments

Show parent comment

1

u/purrrfessionalwidow Dec 02 '15

It did. I just tested it with ['2x3x4', '1x1x10'] and the result is 101.

1

u/Runenmeister Dec 02 '15

Read my edit, sorry. Looks like you might need to make a compare function for your array.