]>
Commit | Line | Data |
---|---|---|
11594f9a JK |
1 | (ns adventofcode2019.day09 |
2 | [:require [adventofcode2019.lib :refer :all] | |
c57f6d96 | 3 | [adventofcode2019.intcode :as i]]) |
11594f9a JK |
4 | |
5 | (defn day09 [] | |
6 | (let [input (mapv parse-int (get-list-from-file (input-file) #","))] | |
7 | (part1 (:output (i/intcode (i/build-state input {:input [1]})))) | |
c57f6d96 | 8 | (part2 (:output (i/intcode (i/build-state input {:input [2]})))))) |