diff --git a/2023/src/day06.clj b/2023/src/day06.clj index 07b0376..3e2b31c 100644 --- a/2023/src/day06.clj +++ b/2023/src/day06.clj @@ -5,7 +5,7 @@ (def input (get-puzzle-input 6)) -(defn solve [num-str-lists] ; takes a list of list of nums-string representing time and distance +(defn solve [num-str-lists] ; takes a list of list of number-strings representing time and distance (->> (map (partial map #(Long/parseLong %)) num-str-lists) (apply zipmap) (map (fn [[ms record]] (->> (range 1 ms)