From 1fbb07c54523c7a576bfff1cb689e155dd55f15a Mon Sep 17 00:00:00 2001 From: Prefetch Date: Sat, 2 Mar 2024 19:36:12 +0100 Subject: Add first five days --- 03/main.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 03/main.scm (limited to '03/main.scm') diff --git a/03/main.scm b/03/main.scm new file mode 100644 index 0000000..561fcd7 --- /dev/null +++ b/03/main.scm @@ -0,0 +1,13 @@ +(import (chezscheme)) + +; Where the magic happens +(import (lib)) + +; My personal puzzle input +(define input 289326) + +; Part 1 gives 419 for me +(printf "Part 1 solution: ~a\n" (solve-part1 input)) + +; Part 2 gives 295229 for me +(printf "Part 2 solution: ~a\n" (solve-part2 input)) -- cgit v1.2.3