Day 12 solution

This is quite slow, at least for part 2 (and part 1 is slower than I want it to be, event parse takes longer than I thought it should). I need a better approach to the second part. Probably need to mark all nodes' distances from the goal point instead of one-by-one plotting a path from each possible start to the end, but that requires an adjustment to how I'm building the graph in the first place.
This commit is contained in:
2022-12-12 17:13:02 -06:00
parent 093178376d
commit 2f73611a7c
4 changed files with 258 additions and 24 deletions

View File

@ -57,6 +57,7 @@
<EmbeddedResource Include="inputs\11a.txt" />
<EmbeddedResource Include="inputs\12.txt" />
<None Remove="inputs\13.txt" />
<EmbeddedResource Include="inputs\12a.txt" />
<EmbeddedResource Include="inputs\13.txt" />
<None Remove="inputs\14.txt" />
<EmbeddedResource Include="inputs\14.txt" />