golf
This commit is contained in:
parent
f70ba6d543
commit
4e5cba07bf
@ -5,7 +5,6 @@
|
||||
(mapv (comp (partial mapv parse-long)
|
||||
(partial re-seq #"\d+")))))
|
||||
(def initial-circuits (into #{} (map hash-set input)))
|
||||
|
||||
(defn square [x] (* x x))
|
||||
(defn dist-squared [[ax ay az] [bx by bz]]
|
||||
(+ (square (- ax bx))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user