Day 9 solution

This is ugly. I probably should've vec2'd this, made smarter move and follow logic that isn't a series of 'if's, and found a smarter way to calculate distance than my hackneyed vector distance, but it totally works so I'm rolling with it.
This commit is contained in:
2022-12-08 23:38:01 -06:00
parent f9e75ffcad
commit dd50a46ede
5 changed files with 2230 additions and 100 deletions

File diff suppressed because it is too large Load Diff

8
inputs/09a.txt Normal file
View File

@ -0,0 +1,8 @@
R 4
U 4
L 3
D 1
R 4
D 1
L 5
R 2

8
inputs/09b.txt Normal file
View File

@ -0,0 +1,8 @@
R 5
U 8
L 8
D 3
R 17
D 10
L 25
U 20