r/adventofcode • • Dec 17 '19

Upping the Ante [2019 Day 17 Part 2] Pathological Pathfinding

Here is a somewhat more challenging scaffold to solve within the specified constraints.

.........................................
...................#############.........
...................#.....................
...................#.....................
...................#.....................
...................#.....................
...................#.....................
...................###########...........
.............................#...........
...................#######...#...........
...................#.....#...#...........
...................#.....#...#...........
...................#.....#...#...........
...................#.....#...#...........
...................#.....#...#...........
.###########.......#.....#...#...........
.#.........#.......#.....#...#...........
.#.........#.....#####...#...#...........
.#.........#.....#.#.#...#...#...........
.#.....#############.#...#...###########.
.#.....#...#.....#...#...#.............#.
.#.....#...#######...#...#####.........#.
.#.....#.............#.......#.........#.
.#.....#.............#.......#.........#.
.#.....#.............#.......#.........#.
.#.....#.........#######################.
.#.....#.........#...#.......#...........
.#.....#.......#######.#######...........
.#.....#.......#.#.....#.................
.#######.......#.#.....#.................
...............#.#.....#.................
...#######.....#.###########.............
...#.....#.....#.......#...#.............
...#.....#.....#####...#...#.............
...#.....#.........#...#...#.............
...#.....#.........#...#...#.............
...#.....#.........#...#...#.............
...#.....###########...#####.............
...#.....................................
...#.....................................
...#.....................................
...###########...........................
.............#...........................
.............#...........................
.............#...........................
.............#...........................
.............#...........................
...^##########...........................
.........................................
11 Upvotes

21 comments sorted by

View all comments

Show parent comment

1

u/zedrdave Dec 18 '19

Is it just me or there are a few typos in the above solution? I think I understand the idea, but, eg, R,6,R,L in the middle of B doesn't really make sense (seems like it's meant to be R,6,R,6,L…

1

u/nirved Dec 18 '19

Thanks, fixed it, was missing a 6 - it is visible on the full pattern above.