diff options
Diffstat (limited to '2019/05')
-rw-r--r-- | 2019/05/.gitignore | 1 | ||||
-rw-r--r-- | 2019/05/Makefile | 1 | ||||
-rw-r--r-- | 2019/05/puzzles.lisp | 11 |
3 files changed, 13 insertions, 0 deletions
diff --git a/2019/05/.gitignore b/2019/05/.gitignore new file mode 100644 index 0000000..5fcaefb --- /dev/null +++ b/2019/05/.gitignore @@ -0,0 +1 @@ +puzzle-[12].lisp
\ No newline at end of file diff --git a/2019/05/Makefile b/2019/05/Makefile new file mode 100644 index 0000000..5a21270 --- /dev/null +++ b/2019/05/Makefile @@ -0,0 +1 @@ +include ../../Makefiles/lisp.mk
\ No newline at end of file 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 |