aboutsummaryrefslogtreecommitdiff
path: root/2019/09/puzzles.lisp
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-12-18 18:59:06 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-12-18 18:59:06 +0100
commita5f5c1adaf2ee0b13a05821dc5e811107d12a24d (patch)
tree0d137674d2fbf62612cd0aeaf25f1f421812dbfb /2019/09/puzzles.lisp
parentaeeb7856d32a904d22c5f1cdeca443bb7fcd7e49 (diff)
Add 2019 day 9 solutions
Diffstat (limited to '2019/09/puzzles.lisp')
-rw-r--r--2019/09/puzzles.lisp7
1 files changed, 7 insertions, 0 deletions
diff --git a/2019/09/puzzles.lisp b/2019/09/puzzles.lisp
new file mode 100644
index 0000000..f8edbc1
--- /dev/null
+++ b/2019/09/puzzles.lisp
@@ -0,0 +1,7 @@
+#!/usr/bin/sbcl --script
+
+(load "../interpreter.lisp")
+
+(intcode:run (intcode:parse "input")
+ (lambda () +puzzle-part+)
+ (lambda (x) (format t "~d~%" x))) \ No newline at end of file