diff options
Diffstat (limited to 'day8/part1.clj')
-rw-r--r-- | day8/part1.clj | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/day8/part1.clj b/day8/part1.clj deleted file mode 100644 index fe06fdf..0000000 --- a/day8/part1.clj +++ /dev/null @@ -1,15 +0,0 @@ -(require '[clojure.string :as str]) - -(->> (str/split-lines (slurp "./in")) - (map - (fn [line] - (as-> line $ - (str/split $ #" ") - (subvec $ 11 15) - (filter #(.contains [2 3 4 7] (count %)) $) - (count $) - ))) - (apply +) - (println) - ) - |