Day 07: Typo.

This commit is contained in:
Jonathan Chan 2021-12-09 00:28:24 -08:00
parent efd3cc9059
commit ecb7c5a9f9
1 changed files with 1 additions and 1 deletions

View File

@ -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}))