aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-06-26 08:35:43 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-06-26 08:36:53 +0100
commitc0964cbb42710129a217e84bf7525f68f3fd670e (patch)
treefaa7e762fb747342c44c9852eee84ec7e3f2860a
parent29cacf2394a6d64f1ab3d5ba13a35f3beb08c3c7 (diff)
downloadadvent-of-code-c0964cbb42710129a217e84bf7525f68f3fd670e.tar.gz
advent-of-code-c0964cbb42710129a217e84bf7525f68f3fd670e.tar.bz2
advent-of-code-c0964cbb42710129a217e84bf7525f68f3fd670e.zip
(*->2022)~made it clear what advent of code I'm doing
-rw-r--r--2022/puzzle-1.lisp (renamed from puzzle-1.lisp)2
-rw-r--r--2022/puzzle-2.lisp (renamed from puzzle-2.lisp)2
-rw-r--r--2022/puzzle-3.lisp (renamed from puzzle-3.lisp)2
-rw-r--r--2022/puzzle-4.lisp (renamed from puzzle-4.lisp)2
4 files changed, 4 insertions, 4 deletions
diff --git a/puzzle-1.lisp b/2022/puzzle-1.lisp
index 45d1921..3a1510e 100644
--- a/puzzle-1.lisp
+++ b/2022/puzzle-1.lisp
@@ -1,4 +1,4 @@
-(defvar input (uiop:read-file-string "puzzle-1-input.txt"))
+(defvar input (uiop:read-file-string "2022/1-input"))
(defvar *sep (format nil "~%~%"))
(defun get-lists (input)
diff --git a/puzzle-2.lisp b/2022/puzzle-2.lisp
index 377b6ba..b3b0155 100644
--- a/puzzle-2.lisp
+++ b/2022/puzzle-2.lisp
@@ -1,4 +1,4 @@
-(defvar input (uiop:read-file-string "puzzle-2-input.txt"))
+(defvar input (uiop:read-file-string "2022/2-input"))
;; Each newline represents a new round, which we should parse on the go
(defun sensible-convert-input (str)
diff --git a/puzzle-3.lisp b/2022/puzzle-3.lisp
index dcb8bc3..c5ee3d3 100644
--- a/puzzle-3.lisp
+++ b/2022/puzzle-3.lisp
@@ -1,4 +1,4 @@
-(defvar input (uiop:read-file-string "puzzle-3-input.txt"))
+(defvar input (uiop:read-file-string "2022/3-input"))
(defun split-string-in-two (s)
(let ((len (length s)))
diff --git a/puzzle-4.lisp b/2022/puzzle-4.lisp
index be842d3..04c7bfb 100644
--- a/puzzle-4.lisp
+++ b/2022/puzzle-4.lisp
@@ -4,7 +4,7 @@
;; and since we're working with integers, it's simply checking if the
;; bounds are included i.e. c in [a,b] and d in [a,b]
-(defvar input (uiop:read-file-string "puzzle-4-input.txt"))
+(defvar input (uiop:read-file-string "2022/4-input"))
(defun parse-bound (str)
"Given STR=\"a-b\" return (a b)"