+1
-1
input.sh
+1
-1
input.sh
+24
-2
src/Day1.hs
+24
-2
src/Day1.hs
···+getCrossings (('L', l) : rest) n = (((l-n) `div` 100) + (if n > 0 then 1 else 0) : getCrossings rest ((n-l) `mod` 100))