src/2019/days/day-05.lisp @ 03d0cc3a648f

2019/14
author Steve Losh <steve@stevelosh.com>
date Sat, 14 Dec 2019 12:47:15 -0500
parents 5f6c2d777533
children 182bdd87fd9e
(defpackage :advent/2019/05 #.cl-user::*advent-use*)
(in-package :advent/2019/05)

(define-problem (2019 5) (data read-numbers) (14522484 4655956)
  (values
    (car (last (gathering
                 (advent/intcode:run data :input (constantly 1) :output #'gather))))
    (car (gathering
           (advent/intcode:run data :input (constantly 5) :output #'gather)))))