]> localhost Git - adventofcode2019.git/commitdiff
Fix day9pt1 and add correct day9pt2
authorJack Kinsey <j.jameskinsey@gmail.com>
Tue, 10 Dec 2019 00:30:15 +0000 (19:30 -0500)
committerJack Kinsey <j.jameskinsey@gmail.com>
Tue, 10 Dec 2019 00:30:46 +0000 (19:30 -0500)
src/adventofcode2019/day09.clj

index 495b336e2928a04d6665c9926aa7b2dc25c273c4..48a4a72507bc5f75a0dbee14904859a75e620644 100644 (file)
@@ -1,11 +1,8 @@
 (ns adventofcode2019.day09
     [:require [adventofcode2019.lib :refer :all]
-              [adventofcode2019.intcode :as i]
-              [clojure.string :as str]
-              [clojure.core.match :refer [match]]
-              [clojure.math.combinatorics :as combo]])
+              [adventofcode2019.intcode :as i]])
 
 (defn day09 []
   (let [input (mapv parse-int (get-list-from-file (input-file) #","))] 
     (part1 (:output (i/intcode (i/build-state input {:input [1]}))))
-    #_(part2)))
+    (part2 (:output (i/intcode (i/build-state input {:input [2]}))))))