aboutsummaryrefslogtreecommitdiff
path: root/2019/05/puzzles.lisp
blob: 1d42479b2a3d9ab7ede477916d487f08375562d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/sbcl --script

(load "../interpreter.lisp")

(format t "~d~%" (car (last (intcode:run (intcode:parse "input")
                                         ;; START PART 1
                                         '(1)
                                         ;; END PART 1 START PART 2
                                         '(5)
                                         ;; END PART 2
                                         ))))