From f8697a854edd878d8787cc450a2c4d98c8d1b755 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 16 Dec 2024 03:57:38 +0100 Subject: Add 2019 day 5 solutions --- 2019/05/puzzles.lisp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 2019/05/puzzles.lisp (limited to '2019/05/puzzles.lisp') 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 -- cgit v1.2.3