mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 09:23:17 -09:00
golf
This commit is contained in:
parent
b989138719
commit
d7af2de25f
@ -16,7 +16,8 @@
|
||||
(defn solve [reduction]
|
||||
(->> (get-puzzle-input 9)
|
||||
(map parse-line)
|
||||
(mapv (comp reverse generate-pyramid))
|
||||
(map generate-pyramid)
|
||||
(map reverse)
|
||||
(map (partial reduce reduction 0))
|
||||
(reduce +)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user