This commit is contained in:
Adam Jeniski 2024-12-01 12:33:54 -05:00
parent 6df8268e34
commit b07f377f78

View File

@ -5,8 +5,8 @@
(def input (->> (get-input 1) (def input (->> (get-input 1)
(map (c/compose #(re-seq #"(\d+)\s+(\d+)" %) (map (c/compose #(re-seq #"(\d+)\s+(\d+)" %)
first rest ; only get match groups first rest ; only get match groups
#(mapv parse-long %))) #(mapv parse-long %)))
(into {}) (into {})
((juxt keys vals)))) ((juxt keys vals))))