]>
Commit | Line | Data |
---|---|---|
1 | (ns adventofcode2019.day09 | |
2 | [:require [adventofcode2019.lib :refer :all] | |
3 | [adventofcode2019.intcode :as i] | |
4 | [clojure.string :as str] | |
5 | [clojure.core.match :refer [match]] | |
6 | [clojure.math.combinatorics :as combo]]) | |
7 | ||
8 | (defn day09 [] | |
9 | (let [input (mapv parse-int (get-list-from-file (input-file) #","))] | |
10 | (part1 (:output (i/intcode (i/build-state input {:input [1]})))) | |
11 | #_(part2))) |