clean up hacks

This commit is contained in:
Adam Jeniski 2023-12-06 00:21:58 -05:00
parent 051638cda0
commit ff09b6d9dc

View File

@ -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))