diff options
author | HJ <thechairman@thechairman.info> | 2023-12-23 11:08:28 -0500 |
---|---|---|
committer | HJ <thechairman@thechairman.info> | 2023-12-23 11:08:28 -0500 |
commit | fcf2ad8776a124274b9c80a7df1f49ee7e3b363c (patch) | |
tree | 2c31bc27ea935669df0ac33b76f82b3c52cdfea8 | |
parent | 3426d1539686b5a25b1d3120b260585c708f5899 (diff) | |
download | gleam_aoc-fcf2ad8776a124274b9c80a7df1f49ee7e3b363c.tar.gz gleam_aoc-fcf2ad8776a124274b9c80a7df1f49ee7e3b363c.zip |
day 23 racket complete
-rw-r--r-- | aoc2023-other/day-23/day-23.rkt | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/aoc2023-other/day-23/day-23.rkt b/aoc2023-other/day-23/day-23.rkt index ba8ba83..0430255 100644 --- a/aoc2023-other/day-23/day-23.rkt +++ b/aoc2023-other/day-23/day-23.rkt @@ -2,35 +2,9 @@ (require advent-of-code threading - graph - data/queue) + graph) -(define input* - "#.##################### -#.......#########...### -#######.#########.#.### -###.....#.>.>.###.#.### -###v#####.#v#.###.#.### -###.>...#.#.#.....#...# -###v###.#.#.#########.# -###...#.#.#.......#...# -#####.#.#.#######.#.### -#.....#.#.#.......#...# -#.#####.#.#.#########v# -#.#...#...#...###...>.# -#.#.#v#######v###.###v# -#...#.>.#...>.>.#.###.# -#####v#.#.###v#.#.###.# -#.....#...#...#.#.#...# -#.#########.###.#.#.### -#...###...#...#...#.### -###.###.#.###v#####v### -#...#...#.#.>.>.#.>.### -#.###.###.#.###.#.#v### -#.....###...###...#...# -#####################.#") - -(define input (fetch-aoc-input (find-session) 2023 23 #:cache ".")) +(define input (fetch-aoc-input (find-session) 2023 23 #:cache #true)) (define trails (for*/hash ([(row r) (in-indexed (string-split input "\n"))] [(col c) (in-indexed row)] |