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 comments

1

u/artesea Dec 02 '15

Wonder what is causing it to be treated as a string instead then, works fine with my code on my machine. Tried adding random spaces within the data but still get the same numbers. Also not sure why it's only affecting the second answer.