mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 11:23:17 -09:00
clean up hacks
This commit is contained in:
parent
051638cda0
commit
ff09b6d9dc
@ -45,14 +45,9 @@
|
|||||||
;; part 2
|
;; part 2
|
||||||
(->> seeds
|
(->> seeds
|
||||||
(partition 2)
|
(partition 2)
|
||||||
(map #(range (+
|
(map #(range (first %)
|
||||||
118 ;; hacky solution, delete this + 117
|
|
||||||
(first %))
|
|
||||||
(+ (first %)
|
(+ (first %)
|
||||||
(second %))
|
(second %))))
|
||||||
1000 ;; hacky solution, delete this
|
|
||||||
))
|
|
||||||
(apply concat)
|
(apply concat)
|
||||||
(map translate)
|
(pmap translate)
|
||||||
(apply min))
|
(apply min))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user