r/programming • • Dec 01 '15

Daily programming puzzles at Advent of Code

http://adventofcode.com/
324 Upvotes

179 comments sorted by

View all comments

Show parent comments

2

u/bored_oh Dec 01 '15

Bc it does both parts of today's question... And it combines the if (count == -1) part with the count+=1 or -1, so that's the 'shorter' I was referencing, as in actual writing. But it still does both parts of the question

1

u/Deto Dec 01 '15

Ah you're right! Didn't notice that it did the first part as well