diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-12-18 18:59:06 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-12-18 18:59:06 +0100 |
commit | a5f5c1adaf2ee0b13a05821dc5e811107d12a24d (patch) | |
tree | 0d137674d2fbf62612cd0aeaf25f1f421812dbfb | |
parent | aeeb7856d32a904d22c5f1cdeca443bb7fcd7e49 (diff) |
Add 2019 day 9 solutions
-rw-r--r-- | 2019/09/.gitignore | 1 | ||||
-rw-r--r-- | 2019/09/Makefile | 1 | ||||
-rw-r--r-- | 2019/09/puzzles.lisp | 7 |
3 files changed, 9 insertions, 0 deletions
diff --git a/2019/09/.gitignore b/2019/09/.gitignore new file mode 100644 index 0000000..5fcaefb --- /dev/null +++ b/2019/09/.gitignore @@ -0,0 +1 @@ +puzzle-[12].lisp
\ No newline at end of file diff --git a/2019/09/Makefile b/2019/09/Makefile new file mode 100644 index 0000000..5a21270 --- /dev/null +++ b/2019/09/Makefile @@ -0,0 +1 @@ +include ../../Makefiles/lisp.mk
\ No newline at end of file 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 |