fix EOF
This commit is contained in:
parent
dc2af9d6b0
commit
67788fadc0
|
@ -31,4 +31,4 @@
|
||||||
(let [[head tail] (split-at num sequence)] (lazy-seq (cons head (chunker tail num))))))
|
(let [[head tail] (split-at num sequence)] (lazy-seq (cons head (chunker tail num))))))
|
||||||
(defn three-elves [lines]
|
(defn three-elves [lines]
|
||||||
(priority (first (apply clojure.set/intersection (map set lines)))))
|
(priority (first (apply clojure.set/intersection (map set lines)))))
|
||||||
(println (reduce + (map three-elves (chunker elves 3))))
|
(println (reduce + (map three-elves (chunker elves 3))))
|
||||||
|
|
Loading…
Reference in New Issue