From a5f5c1adaf2ee0b13a05821dc5e811107d12a24d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 18 Dec 2024 18:59:06 +0100 Subject: Add 2019 day 9 solutions --- 2019/09/.gitignore | 1 + 2019/09/Makefile | 1 + 2019/09/puzzles.lisp | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 2019/09/.gitignore create mode 100644 2019/09/Makefile create mode 100644 2019/09/puzzles.lisp 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 -- cgit v1.2.3