]> localhost Git - adventofcode2019.git/blame_incremental - src/adventofcode2019/day09.clj
Fix Intcode bug
[adventofcode2019.git] / src / adventofcode2019 / day09.clj
... / ...
CommitLineData
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)))