format
This commit is contained in:
+2
-2
@@ -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))))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user