aboutsummaryrefslogtreecommitdiff
path: root/2019/05/puzzles.lisp
diff options
context:
space:
mode:
Diffstat (limited to '2019/05/puzzles.lisp')
-rw-r--r--2019/05/puzzles.lisp11
1 files changed, 11 insertions, 0 deletions
diff --git a/2019/05/puzzles.lisp b/2019/05/puzzles.lisp
new file mode 100644
index 0000000..e81b352
--- /dev/null
+++ b/2019/05/puzzles.lisp
@@ -0,0 +1,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
+ )))) \ No newline at end of file