simplify
This commit is contained in:
parent
5ca7f15404
commit
aae7ad038b
@ -33,7 +33,7 @@
|
|||||||
o3 (orientation c d a)
|
o3 (orientation c d a)
|
||||||
o4 (orientation c d b)]
|
o4 (orientation c d b)]
|
||||||
(and (not= o1 o2) (not= o3 o4))))
|
(and (not= o1 o2) (not= o3 o4))))
|
||||||
(def line-segments (map vector input (conj (vec (rest input)) (first input))))
|
(def line-segments (map vector input (rest input)))
|
||||||
|
|
||||||
;; part 2
|
;; part 2
|
||||||
(->> largest-squares
|
(->> largest-squares
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user