This commit is contained in:
basicbonobo 2023-12-09 08:53:11 +01:00
parent 1ec48e662d
commit 4857f8d12e
2 changed files with 11 additions and 0 deletions

10
chest8 Normal file
View File

@ -0,0 +1,10 @@
LR
11A = (11B, XXX)
11B = (XXX, 11Z)
11Z = (11B, XXX)
22A = (22B, XXX)
22B = (22C, 22C)
22C = (22Z, 22Z)
22Z = (22B, 22B)
XXX = (XXX, XXX)

View File

@ -16,3 +16,4 @@ def time(start, stop):
return steps
print(time('AAA', 'ZZZ'))
print(math.lcm(*[time(start, '..Z') for start in kart.keys() if re.match('..A', start)]))