Day 07: Typo.
This commit is contained in:
parent
efd3cc9059
commit
ecb7c5a9f9
|
@ -12,5 +12,5 @@
|
||||||
(let ([target (floor (target input))])
|
(let ([target (floor (target input))])
|
||||||
(sum (map #{fuel (abs (- % target))} input))))
|
(sum (map #{fuel (abs (- % target))} input))))
|
||||||
|
|
||||||
(show-solution (total-fuel mean identity)
|
(show-solution (total-fuel median identity)
|
||||||
(total-fuel mean #{/ (* % (add1 %)) 2}))
|
(total-fuel mean #{/ (* % (add1 %)) 2}))
|
Loading…
Reference in New Issue