This commit is contained in:
Adam Jeniski 2024-12-03 00:52:48 -05:00
parent 526bf8ad7d
commit 8a5bba8f29

View File

@ -4,7 +4,7 @@
[core :as c])) [core :as c]))
(def input (->> (get-input 1) (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 %)) (map #(mapv parse-long %))
(into {}) (into {})
((juxt keys vals)))) ((juxt keys vals))))