src/2019/days/day-05.lisp @ f4f8705ccf34

2019/12
author Steve Losh <steve@stevelosh.com>
date Thu, 12 Dec 2019 20:02:09 -0500 (2019-12-13)
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)))))