(*->2022)~made it clear what advent of code I'm doing

This commit is contained in:
2023-06-26 08:35:43 +01:00
parent 29cacf2394
commit c0964cbb42
4 changed files with 4 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)))

View File

@@ -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)"