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

(load "../interpreter.lisp")

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