diff --git a/2024/src/day01.clj b/2024/src/day01.clj index ec2d445..8d1066b 100644 --- a/2024/src/day01.clj +++ b/2024/src/day01.clj @@ -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))))