diff options
-rw-r--r-- | aoc2023-other/day-21/day-21.rkt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/aoc2023-other/day-21/day-21.rkt b/aoc2023-other/day-21/day-21.rkt index b6abbda..8d73a7f 100644 --- a/aoc2023-other/day-21/day-21.rkt +++ b/aoc2023-other/day-21/day-21.rkt @@ -37,15 +37,9 @@ ;; part 2 ;; the growth of the steps pattern is regular and quadratic ;; the rock pattern has aisles in it that allow the steps pattern to expand freely -;; such that it will cross from one side to another in X steps +;; such that it will cross from one side to another in X steps ;; where X is the height/width of the repeated section -;; cycles | filled segments -;; ------ | --------------- -;; 1/2 | 1 -;; 1-1/2 | 2 -;; 2-1/2 | | - (define grid-size (~> input (string-split "\n") length)) (define half-size (/ (sub1 grid-size) 2)) |