mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 09:23:17 -09:00
add comments
This commit is contained in:
parent
66478a04c0
commit
d5d2c3bd2e
@ -14,6 +14,7 @@
|
||||
lcm (fn lcm [a b] (/ (* a b) (gcd a b)))]
|
||||
(reduce lcm x)))
|
||||
|
||||
;; part 1
|
||||
(let [[dir _ & lines] (get-puzzle-input 8)
|
||||
dir-idx (map #(condp = %
|
||||
\L 0
|
||||
@ -29,6 +30,7 @@
|
||||
drest
|
||||
(inc n)))))
|
||||
|
||||
;; part 2
|
||||
(let [[dir _ & lines] (get-puzzle-input 8)
|
||||
dir-idx (map #(condp = %
|
||||
\L 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user