Very, very shamelessly stolen from the r/adventofcode main thread where everyone was using this "Z3" library to solve equations. I'm not good at math, and this problem feels more like Advent of Linear Algebra than Code. Although it appears that Z3 doesn't work on mac since I had to switch back to my desktop PC for this one :(.
This commit is contained in:
2023-12-24 12:55:37 -06:00
parent c31f1b06b7
commit 17518fdb35
4 changed files with 443 additions and 0 deletions

View File

@ -75,6 +75,8 @@
<EmbeddedResource Include="inputs\20b.txt" />
<EmbeddedResource Include="inputs\21.txt" />
<EmbeddedResource Include="inputs\21a.txt" />
<EmbeddedResource Include="inputs\24.txt" />
<EmbeddedResource Include="inputs\24a.txt" />
<None Remove="inputs\22.txt" />
<EmbeddedResource Include="inputs\22.txt" />
<None Remove="inputs\22a.txt" />
@ -89,4 +91,8 @@
<EmbeddedResource Include="inputs\01b.txt" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Z3" Version="4.12.2" />
</ItemGroup>
</Project>