X-Git-Url: http://git.jkinsey.net/?p=adventofcode2019.git;a=blobdiff_plain;f=src%2Fadventofcode2019%2Fday09.clj;fp=src%2Fadventofcode2019%2Fday09.clj;h=48a4a72507bc5f75a0dbee14904859a75e620644;hp=495b336e2928a04d6665c9926aa7b2dc25c273c4;hb=c57f6d96bbe170a9a2154f1d0d2335f1b66f79bd;hpb=cce5143765e0bf17f2d844c54401109983576ede diff --git a/src/adventofcode2019/day09.clj b/src/adventofcode2019/day09.clj index 495b336..48a4a72 100644 --- a/src/adventofcode2019/day09.clj +++ b/src/adventofcode2019/day09.clj @@ -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]}))))))