Day 12 solution

Okay, I had to seek some advice on this one. The orbital period + least-common-multiple solution was not coming to me naturally.
This commit is contained in:
2022-06-23 10:08:33 -05:00
parent 4cdd9c645b
commit 2178a2618d
7 changed files with 226 additions and 0 deletions

4
inputs/12p.txt Normal file
View File

@ -0,0 +1,4 @@
<x=14, y=4, z=5>
<x=12, y=10, z=8>
<x=1, y=7, z=-10>
<x=16, y=-5, z=3>

4
inputs/12s1.txt Normal file
View File

@ -0,0 +1,4 @@
<x=-1, y=0, z=2>
<x=2, y=-10, z=-7>
<x=4, y=-8, z=8>
<x=3, y=5, z=-1>

4
inputs/12s2.txt Normal file
View File

@ -0,0 +1,4 @@
<x=-8, y=-10, z=0>
<x=5, y=5, z=10>
<x=2, y=-7, z=3>
<x=9, y=-8, z=-3>