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