mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 09:33:19 -09:00
refactor
This commit is contained in:
parent
526bf8ad7d
commit
8a5bba8f29
@ -4,7 +4,7 @@
|
||||
[core :as c]))
|
||||
|
||||
(def input (->> (get-input 1)
|
||||
(map #(c/get-match-groups #"(\d+)\s+(\d+)" %))
|
||||
(map #(first (c/get-match-groups #"(\d+)\s+(\d+)" %)))
|
||||
(map #(mapv parse-long %))
|
||||
(into {})
|
||||
((juxt keys vals))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user