Day 12 solution

Okay, I had to seek help on this one. The orbital period + least-common-multiple solution was not coming to me.
This commit is contained in:
2022-06-10 21:59:06 -05:00
parent b903417c06
commit 43d9a77d62
7 changed files with 226 additions and 0 deletions

4
inputs/12p.txt Normal file
View File

@ -0,0 +1,4 @@
<x=-6, y=-5, z=-8>
<x=0, y=-3, z=-13>
<x=-15, y=10, z=-11>
<x=-3, y=-8, 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>