day 5
This commit is contained in:
parent
0d4800e51f
commit
6593f7e0ea
32
2022/05/01.py
Executable file
32
2022/05/01.py
Executable file
@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
|
||||
INPUT_FILE = 'input'
|
||||
pattern = '^move (\d+) from (\d+) to (\d+)$'
|
||||
|
||||
stacks = [
|
||||
['G','T','R','W'],
|
||||
['G', 'C', 'H', 'P', 'M', 'S', 'V', 'W'],
|
||||
['C', 'L', 'T', 'S', 'G', 'M'],
|
||||
['J', 'H', 'D', 'M', 'W', 'R', 'F'],
|
||||
['P', 'Q', 'L','H','S','W','F','J'],
|
||||
['P', 'J', 'D','N','F','M','S'],
|
||||
['Z', 'B', 'D','F','G','C','S','J'],
|
||||
['R', 'T', 'B'],
|
||||
['H', 'N', 'W', 'L', 'C'],
|
||||
]
|
||||
|
||||
def main():
|
||||
content = map(str.strip, open(INPUT_FILE, 'r').readlines())
|
||||
for line in content:
|
||||
print(stacks)
|
||||
amount, move_from, move_to = re.match(pattern, line).groups()
|
||||
amount, move_from, move_to = int(amount), int(move_from)-1, int(move_to)-1
|
||||
print('{}: {} -> {}'.format(amount, move_from, move_to))
|
||||
for _ in range(amount):
|
||||
stacks[move_to].append(stacks[move_from].pop())
|
||||
for s in stacks:
|
||||
print(s.pop())
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
35
2022/05/02.py
Executable file
35
2022/05/02.py
Executable file
@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
|
||||
INPUT_FILE = 'input'
|
||||
pattern = '^move (\d+) from (\d+) to (\d+)$'
|
||||
|
||||
stacks = [
|
||||
['G','T','R','W'],
|
||||
['G', 'C', 'H', 'P', 'M', 'S', 'V', 'W'],
|
||||
['C', 'L', 'T', 'S', 'G', 'M'],
|
||||
['J', 'H', 'D', 'M', 'W', 'R', 'F'],
|
||||
['P', 'Q', 'L','H','S','W','F','J'],
|
||||
['P', 'J', 'D','N','F','M','S'],
|
||||
['Z', 'B', 'D','F','G','C','S','J'],
|
||||
['R', 'T', 'B'],
|
||||
['H', 'N', 'W', 'L', 'C'],
|
||||
]
|
||||
|
||||
def main():
|
||||
content = map(str.strip, open(INPUT_FILE, 'r').readlines())
|
||||
for line in content:
|
||||
print(stacks)
|
||||
amount, move_from, move_to = re.match(pattern, line).groups()
|
||||
amount, move_from, move_to = int(amount), int(move_from)-1, int(move_to)-1
|
||||
print('{}: {} -> {}'.format(amount, move_from, move_to))
|
||||
temp = []
|
||||
for _ in range(amount):
|
||||
temp.append(stacks[move_from].pop())
|
||||
temp.reverse()
|
||||
stacks[move_to] += temp
|
||||
for s in stacks:
|
||||
print(s.pop())
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
501
2022/05/input
Executable file
501
2022/05/input
Executable file
@ -0,0 +1,501 @@
|
||||
move 3 from 4 to 3
|
||||
move 3 from 8 to 6
|
||||
move 2 from 3 to 8
|
||||
move 3 from 7 to 2
|
||||
move 1 from 1 to 3
|
||||
move 6 from 2 to 7
|
||||
move 5 from 3 to 6
|
||||
move 1 from 8 to 6
|
||||
move 4 from 4 to 3
|
||||
move 2 from 1 to 2
|
||||
move 10 from 7 to 3
|
||||
move 1 from 7 to 2
|
||||
move 6 from 5 to 8
|
||||
move 1 from 1 to 4
|
||||
move 7 from 6 to 3
|
||||
move 22 from 3 to 4
|
||||
move 3 from 2 to 8
|
||||
move 4 from 6 to 8
|
||||
move 5 from 2 to 1
|
||||
move 3 from 9 to 4
|
||||
move 2 from 4 to 3
|
||||
move 1 from 9 to 2
|
||||
move 1 from 5 to 3
|
||||
move 1 from 2 to 6
|
||||
move 1 from 5 to 2
|
||||
move 1 from 2 to 7
|
||||
move 4 from 4 to 5
|
||||
move 2 from 1 to 9
|
||||
move 1 from 1 to 3
|
||||
move 2 from 5 to 9
|
||||
move 5 from 9 to 8
|
||||
move 1 from 5 to 9
|
||||
move 1 from 7 to 2
|
||||
move 1 from 9 to 4
|
||||
move 5 from 6 to 7
|
||||
move 1 from 5 to 2
|
||||
move 2 from 2 to 4
|
||||
move 2 from 7 to 4
|
||||
move 2 from 7 to 8
|
||||
move 21 from 8 to 6
|
||||
move 6 from 3 to 1
|
||||
move 1 from 7 to 9
|
||||
move 1 from 1 to 7
|
||||
move 7 from 6 to 8
|
||||
move 3 from 1 to 9
|
||||
move 24 from 4 to 8
|
||||
move 3 from 1 to 3
|
||||
move 10 from 6 to 8
|
||||
move 1 from 4 to 5
|
||||
move 1 from 3 to 9
|
||||
move 5 from 9 to 8
|
||||
move 11 from 8 to 3
|
||||
move 1 from 5 to 7
|
||||
move 1 from 1 to 8
|
||||
move 1 from 6 to 1
|
||||
move 19 from 8 to 1
|
||||
move 1 from 7 to 9
|
||||
move 10 from 3 to 1
|
||||
move 3 from 3 to 8
|
||||
move 1 from 7 to 3
|
||||
move 1 from 9 to 2
|
||||
move 23 from 1 to 7
|
||||
move 1 from 1 to 9
|
||||
move 1 from 3 to 6
|
||||
move 2 from 6 to 9
|
||||
move 7 from 8 to 1
|
||||
move 8 from 8 to 1
|
||||
move 11 from 7 to 2
|
||||
move 2 from 6 to 8
|
||||
move 1 from 6 to 8
|
||||
move 7 from 8 to 6
|
||||
move 1 from 9 to 4
|
||||
move 1 from 8 to 1
|
||||
move 10 from 7 to 1
|
||||
move 6 from 2 to 5
|
||||
move 5 from 2 to 9
|
||||
move 4 from 5 to 8
|
||||
move 1 from 5 to 8
|
||||
move 13 from 1 to 6
|
||||
move 1 from 2 to 4
|
||||
move 1 from 4 to 5
|
||||
move 2 from 9 to 4
|
||||
move 3 from 9 to 4
|
||||
move 2 from 5 to 3
|
||||
move 1 from 3 to 9
|
||||
move 2 from 8 to 5
|
||||
move 2 from 5 to 7
|
||||
move 2 from 8 to 6
|
||||
move 2 from 7 to 3
|
||||
move 2 from 7 to 8
|
||||
move 4 from 1 to 3
|
||||
move 3 from 8 to 4
|
||||
move 8 from 4 to 9
|
||||
move 1 from 9 to 8
|
||||
move 3 from 3 to 6
|
||||
move 4 from 3 to 9
|
||||
move 1 from 8 to 2
|
||||
move 12 from 1 to 5
|
||||
move 9 from 6 to 8
|
||||
move 1 from 4 to 8
|
||||
move 3 from 1 to 3
|
||||
move 12 from 5 to 8
|
||||
move 1 from 2 to 6
|
||||
move 1 from 3 to 1
|
||||
move 1 from 3 to 2
|
||||
move 1 from 1 to 2
|
||||
move 16 from 6 to 1
|
||||
move 1 from 6 to 3
|
||||
move 2 from 3 to 8
|
||||
move 7 from 8 to 5
|
||||
move 1 from 2 to 6
|
||||
move 1 from 2 to 1
|
||||
move 2 from 9 to 4
|
||||
move 1 from 6 to 7
|
||||
move 8 from 9 to 8
|
||||
move 5 from 5 to 6
|
||||
move 9 from 8 to 7
|
||||
move 12 from 1 to 3
|
||||
move 2 from 6 to 3
|
||||
move 6 from 8 to 9
|
||||
move 5 from 1 to 4
|
||||
move 2 from 5 to 7
|
||||
move 11 from 7 to 3
|
||||
move 1 from 7 to 4
|
||||
move 2 from 6 to 8
|
||||
move 7 from 4 to 6
|
||||
move 3 from 8 to 7
|
||||
move 3 from 8 to 2
|
||||
move 19 from 3 to 2
|
||||
move 4 from 8 to 7
|
||||
move 2 from 9 to 8
|
||||
move 1 from 4 to 5
|
||||
move 1 from 6 to 8
|
||||
move 1 from 5 to 7
|
||||
move 8 from 9 to 4
|
||||
move 1 from 8 to 5
|
||||
move 1 from 5 to 6
|
||||
move 4 from 2 to 7
|
||||
move 8 from 6 to 9
|
||||
move 6 from 7 to 3
|
||||
move 4 from 3 to 8
|
||||
move 5 from 8 to 7
|
||||
move 15 from 2 to 8
|
||||
move 8 from 3 to 4
|
||||
move 7 from 9 to 7
|
||||
move 3 from 2 to 4
|
||||
move 2 from 7 to 4
|
||||
move 2 from 4 to 3
|
||||
move 1 from 9 to 4
|
||||
move 9 from 7 to 5
|
||||
move 4 from 5 to 9
|
||||
move 2 from 5 to 3
|
||||
move 2 from 9 to 1
|
||||
move 3 from 5 to 2
|
||||
move 4 from 3 to 1
|
||||
move 7 from 7 to 4
|
||||
move 3 from 2 to 6
|
||||
move 4 from 4 to 5
|
||||
move 2 from 1 to 6
|
||||
move 8 from 4 to 1
|
||||
move 1 from 8 to 2
|
||||
move 1 from 2 to 8
|
||||
move 11 from 8 to 7
|
||||
move 3 from 5 to 9
|
||||
move 1 from 5 to 9
|
||||
move 11 from 7 to 1
|
||||
move 7 from 8 to 9
|
||||
move 11 from 1 to 3
|
||||
move 6 from 4 to 5
|
||||
move 8 from 1 to 7
|
||||
move 4 from 6 to 5
|
||||
move 3 from 5 to 8
|
||||
move 8 from 7 to 3
|
||||
move 7 from 4 to 7
|
||||
move 7 from 5 to 6
|
||||
move 3 from 3 to 8
|
||||
move 2 from 4 to 9
|
||||
move 16 from 3 to 1
|
||||
move 7 from 7 to 1
|
||||
move 2 from 8 to 7
|
||||
move 2 from 8 to 1
|
||||
move 1 from 8 to 4
|
||||
move 1 from 7 to 4
|
||||
move 2 from 4 to 2
|
||||
move 1 from 8 to 7
|
||||
move 1 from 2 to 3
|
||||
move 1 from 2 to 4
|
||||
move 1 from 7 to 8
|
||||
move 8 from 6 to 7
|
||||
move 1 from 3 to 5
|
||||
move 15 from 1 to 2
|
||||
move 4 from 9 to 1
|
||||
move 1 from 8 to 1
|
||||
move 11 from 9 to 2
|
||||
move 21 from 2 to 6
|
||||
move 1 from 4 to 2
|
||||
move 4 from 2 to 7
|
||||
move 1 from 5 to 9
|
||||
move 1 from 9 to 4
|
||||
move 19 from 1 to 2
|
||||
move 5 from 2 to 4
|
||||
move 8 from 7 to 6
|
||||
move 10 from 6 to 2
|
||||
move 5 from 7 to 5
|
||||
move 2 from 4 to 1
|
||||
move 3 from 6 to 9
|
||||
move 3 from 9 to 2
|
||||
move 1 from 5 to 2
|
||||
move 13 from 6 to 3
|
||||
move 2 from 6 to 9
|
||||
move 17 from 2 to 3
|
||||
move 1 from 6 to 2
|
||||
move 2 from 2 to 1
|
||||
move 2 from 1 to 5
|
||||
move 5 from 5 to 3
|
||||
move 2 from 2 to 8
|
||||
move 10 from 2 to 1
|
||||
move 18 from 3 to 8
|
||||
move 13 from 8 to 1
|
||||
move 7 from 8 to 2
|
||||
move 2 from 2 to 1
|
||||
move 4 from 3 to 8
|
||||
move 1 from 2 to 7
|
||||
move 1 from 2 to 8
|
||||
move 2 from 4 to 1
|
||||
move 1 from 5 to 4
|
||||
move 1 from 9 to 6
|
||||
move 1 from 1 to 7
|
||||
move 11 from 3 to 4
|
||||
move 1 from 6 to 2
|
||||
move 7 from 1 to 2
|
||||
move 5 from 8 to 5
|
||||
move 1 from 7 to 5
|
||||
move 3 from 5 to 1
|
||||
move 7 from 1 to 6
|
||||
move 6 from 1 to 6
|
||||
move 6 from 1 to 8
|
||||
move 2 from 1 to 3
|
||||
move 5 from 2 to 5
|
||||
move 1 from 7 to 6
|
||||
move 1 from 4 to 2
|
||||
move 4 from 2 to 4
|
||||
move 1 from 1 to 9
|
||||
move 1 from 3 to 8
|
||||
move 7 from 8 to 5
|
||||
move 1 from 9 to 7
|
||||
move 1 from 9 to 4
|
||||
move 8 from 5 to 7
|
||||
move 5 from 4 to 1
|
||||
move 4 from 1 to 6
|
||||
move 3 from 1 to 6
|
||||
move 3 from 3 to 6
|
||||
move 1 from 5 to 6
|
||||
move 3 from 7 to 5
|
||||
move 15 from 6 to 7
|
||||
move 12 from 7 to 4
|
||||
move 8 from 5 to 2
|
||||
move 3 from 4 to 9
|
||||
move 3 from 9 to 7
|
||||
move 1 from 6 to 2
|
||||
move 9 from 4 to 9
|
||||
move 4 from 9 to 1
|
||||
move 2 from 1 to 7
|
||||
move 3 from 6 to 4
|
||||
move 3 from 6 to 4
|
||||
move 2 from 1 to 2
|
||||
move 1 from 5 to 6
|
||||
move 2 from 9 to 4
|
||||
move 13 from 4 to 2
|
||||
move 22 from 2 to 3
|
||||
move 3 from 7 to 8
|
||||
move 1 from 9 to 6
|
||||
move 1 from 9 to 3
|
||||
move 2 from 8 to 9
|
||||
move 3 from 9 to 8
|
||||
move 5 from 6 to 4
|
||||
move 2 from 8 to 6
|
||||
move 4 from 7 to 8
|
||||
move 2 from 2 to 5
|
||||
move 4 from 8 to 7
|
||||
move 2 from 5 to 7
|
||||
move 7 from 7 to 2
|
||||
move 9 from 4 to 7
|
||||
move 4 from 2 to 1
|
||||
move 3 from 7 to 6
|
||||
move 12 from 3 to 5
|
||||
move 5 from 2 to 5
|
||||
move 1 from 8 to 2
|
||||
move 1 from 3 to 5
|
||||
move 4 from 3 to 1
|
||||
move 2 from 6 to 1
|
||||
move 11 from 5 to 3
|
||||
move 3 from 6 to 1
|
||||
move 8 from 1 to 9
|
||||
move 5 from 9 to 8
|
||||
move 2 from 9 to 7
|
||||
move 1 from 1 to 8
|
||||
move 4 from 7 to 6
|
||||
move 6 from 3 to 1
|
||||
move 1 from 9 to 7
|
||||
move 5 from 7 to 4
|
||||
move 3 from 8 to 3
|
||||
move 1 from 6 to 5
|
||||
move 2 from 2 to 1
|
||||
move 4 from 7 to 9
|
||||
move 3 from 8 to 6
|
||||
move 6 from 3 to 8
|
||||
move 6 from 8 to 7
|
||||
move 4 from 6 to 5
|
||||
move 6 from 5 to 8
|
||||
move 2 from 9 to 5
|
||||
move 2 from 9 to 8
|
||||
move 4 from 7 to 4
|
||||
move 1 from 6 to 3
|
||||
move 5 from 8 to 4
|
||||
move 1 from 6 to 9
|
||||
move 1 from 7 to 3
|
||||
move 7 from 3 to 8
|
||||
move 6 from 1 to 4
|
||||
move 6 from 1 to 2
|
||||
move 17 from 4 to 6
|
||||
move 4 from 8 to 5
|
||||
move 3 from 3 to 1
|
||||
move 5 from 4 to 1
|
||||
move 5 from 2 to 7
|
||||
move 7 from 8 to 1
|
||||
move 7 from 7 to 2
|
||||
move 4 from 6 to 3
|
||||
move 6 from 1 to 8
|
||||
move 2 from 4 to 9
|
||||
move 2 from 5 to 4
|
||||
move 1 from 4 to 3
|
||||
move 1 from 4 to 7
|
||||
move 2 from 7 to 5
|
||||
move 4 from 5 to 3
|
||||
move 1 from 9 to 1
|
||||
move 5 from 5 to 3
|
||||
move 1 from 8 to 5
|
||||
move 7 from 6 to 1
|
||||
move 6 from 6 to 8
|
||||
move 11 from 3 to 7
|
||||
move 2 from 9 to 1
|
||||
move 8 from 8 to 2
|
||||
move 5 from 7 to 5
|
||||
move 5 from 7 to 4
|
||||
move 1 from 2 to 6
|
||||
move 2 from 4 to 6
|
||||
move 1 from 7 to 5
|
||||
move 2 from 6 to 4
|
||||
move 10 from 2 to 6
|
||||
move 3 from 4 to 5
|
||||
move 1 from 6 to 4
|
||||
move 4 from 6 to 4
|
||||
move 6 from 6 to 9
|
||||
move 3 from 3 to 8
|
||||
move 19 from 1 to 8
|
||||
move 23 from 8 to 9
|
||||
move 1 from 8 to 1
|
||||
move 1 from 1 to 7
|
||||
move 1 from 7 to 1
|
||||
move 1 from 1 to 6
|
||||
move 5 from 9 to 5
|
||||
move 1 from 8 to 5
|
||||
move 5 from 4 to 5
|
||||
move 4 from 5 to 4
|
||||
move 1 from 9 to 1
|
||||
move 6 from 9 to 3
|
||||
move 2 from 2 to 8
|
||||
move 1 from 1 to 3
|
||||
move 1 from 6 to 7
|
||||
move 1 from 7 to 3
|
||||
move 1 from 2 to 5
|
||||
move 6 from 9 to 8
|
||||
move 5 from 4 to 5
|
||||
move 10 from 5 to 2
|
||||
move 10 from 5 to 2
|
||||
move 11 from 9 to 1
|
||||
move 4 from 2 to 6
|
||||
move 18 from 2 to 9
|
||||
move 2 from 6 to 9
|
||||
move 3 from 3 to 9
|
||||
move 1 from 4 to 3
|
||||
move 1 from 6 to 8
|
||||
move 6 from 8 to 4
|
||||
move 6 from 5 to 7
|
||||
move 19 from 9 to 4
|
||||
move 7 from 1 to 3
|
||||
move 1 from 6 to 8
|
||||
move 4 from 8 to 7
|
||||
move 2 from 3 to 6
|
||||
move 3 from 1 to 8
|
||||
move 1 from 1 to 5
|
||||
move 7 from 7 to 3
|
||||
move 8 from 3 to 1
|
||||
move 1 from 5 to 7
|
||||
move 2 from 6 to 2
|
||||
move 3 from 1 to 8
|
||||
move 1 from 2 to 6
|
||||
move 3 from 1 to 7
|
||||
move 4 from 8 to 9
|
||||
move 4 from 7 to 6
|
||||
move 3 from 9 to 7
|
||||
move 3 from 9 to 3
|
||||
move 6 from 7 to 3
|
||||
move 13 from 3 to 1
|
||||
move 5 from 3 to 4
|
||||
move 1 from 8 to 7
|
||||
move 1 from 7 to 9
|
||||
move 1 from 8 to 5
|
||||
move 1 from 9 to 4
|
||||
move 1 from 5 to 2
|
||||
move 2 from 9 to 2
|
||||
move 3 from 6 to 2
|
||||
move 1 from 3 to 7
|
||||
move 13 from 4 to 8
|
||||
move 14 from 1 to 5
|
||||
move 6 from 2 to 7
|
||||
move 4 from 8 to 7
|
||||
move 1 from 1 to 3
|
||||
move 1 from 2 to 6
|
||||
move 5 from 4 to 2
|
||||
move 4 from 8 to 4
|
||||
move 12 from 5 to 4
|
||||
move 1 from 3 to 8
|
||||
move 9 from 4 to 2
|
||||
move 9 from 4 to 5
|
||||
move 1 from 4 to 5
|
||||
move 6 from 4 to 3
|
||||
move 5 from 8 to 4
|
||||
move 9 from 4 to 7
|
||||
move 4 from 2 to 3
|
||||
move 8 from 7 to 1
|
||||
move 2 from 7 to 1
|
||||
move 2 from 2 to 9
|
||||
move 1 from 6 to 7
|
||||
move 2 from 6 to 3
|
||||
move 1 from 2 to 3
|
||||
move 2 from 7 to 3
|
||||
move 3 from 3 to 7
|
||||
move 8 from 1 to 2
|
||||
move 9 from 5 to 3
|
||||
move 15 from 2 to 7
|
||||
move 20 from 7 to 5
|
||||
move 23 from 5 to 6
|
||||
move 20 from 6 to 8
|
||||
move 1 from 6 to 4
|
||||
move 2 from 9 to 7
|
||||
move 1 from 4 to 6
|
||||
move 3 from 7 to 6
|
||||
move 2 from 7 to 5
|
||||
move 13 from 3 to 5
|
||||
move 3 from 7 to 1
|
||||
move 13 from 5 to 4
|
||||
move 3 from 1 to 4
|
||||
move 5 from 6 to 1
|
||||
move 6 from 4 to 3
|
||||
move 1 from 7 to 4
|
||||
move 11 from 8 to 6
|
||||
move 1 from 8 to 6
|
||||
move 2 from 1 to 5
|
||||
move 2 from 5 to 3
|
||||
move 11 from 6 to 5
|
||||
move 3 from 8 to 3
|
||||
move 4 from 3 to 5
|
||||
move 15 from 5 to 1
|
||||
move 1 from 3 to 5
|
||||
move 3 from 8 to 5
|
||||
move 1 from 5 to 9
|
||||
move 1 from 5 to 3
|
||||
move 9 from 4 to 6
|
||||
move 7 from 6 to 8
|
||||
move 2 from 4 to 6
|
||||
move 2 from 5 to 1
|
||||
move 8 from 8 to 7
|
||||
move 6 from 6 to 2
|
||||
move 1 from 5 to 2
|
||||
move 4 from 3 to 4
|
||||
move 6 from 1 to 5
|
||||
move 7 from 3 to 4
|
||||
move 2 from 3 to 2
|
||||
move 2 from 8 to 9
|
||||
move 9 from 2 to 5
|
||||
move 9 from 5 to 4
|
||||
move 2 from 3 to 6
|
||||
move 14 from 1 to 7
|
||||
move 15 from 7 to 2
|
||||
move 1 from 1 to 7
|
||||
move 7 from 5 to 1
|
||||
move 2 from 9 to 2
|
||||
move 2 from 1 to 7
|
||||
move 1 from 1 to 4
|
||||
move 2 from 6 to 8
|
||||
move 7 from 2 to 8
|
||||
move 1 from 9 to 6
|
||||
move 7 from 8 to 3
|
||||
move 1 from 6 to 4
|
||||
move 1 from 8 to 2
|
||||
move 6 from 4 to 6
|
||||
move 9 from 2 to 1
|
||||
move 1 from 3 to 9
|
||||
move 3 from 7 to 5
|
501
2022/05/moves
Executable file
501
2022/05/moves
Executable file
@ -0,0 +1,501 @@
|
||||
move 3 from 4 to 3
|
||||
move 3 from 8 to 6
|
||||
move 2 from 3 to 8
|
||||
move 3 from 7 to 2
|
||||
move 1 from 1 to 3
|
||||
move 6 from 2 to 7
|
||||
move 5 from 3 to 6
|
||||
move 1 from 8 to 6
|
||||
move 4 from 4 to 3
|
||||
move 2 from 1 to 2
|
||||
move 10 from 7 to 3
|
||||
move 1 from 7 to 2
|
||||
move 6 from 5 to 8
|
||||
move 1 from 1 to 4
|
||||
move 7 from 6 to 3
|
||||
move 22 from 3 to 4
|
||||
move 3 from 2 to 8
|
||||
move 4 from 6 to 8
|
||||
move 5 from 2 to 1
|
||||
move 3 from 9 to 4
|
||||
move 2 from 4 to 3
|
||||
move 1 from 9 to 2
|
||||
move 1 from 5 to 3
|
||||
move 1 from 2 to 6
|
||||
move 1 from 5 to 2
|
||||
move 1 from 2 to 7
|
||||
move 4 from 4 to 5
|
||||
move 2 from 1 to 9
|
||||
move 1 from 1 to 3
|
||||
move 2 from 5 to 9
|
||||
move 5 from 9 to 8
|
||||
move 1 from 5 to 9
|
||||
move 1 from 7 to 2
|
||||
move 1 from 9 to 4
|
||||
move 5 from 6 to 7
|
||||
move 1 from 5 to 2
|
||||
move 2 from 2 to 4
|
||||
move 2 from 7 to 4
|
||||
move 2 from 7 to 8
|
||||
move 21 from 8 to 6
|
||||
move 6 from 3 to 1
|
||||
move 1 from 7 to 9
|
||||
move 1 from 1 to 7
|
||||
move 7 from 6 to 8
|
||||
move 3 from 1 to 9
|
||||
move 24 from 4 to 8
|
||||
move 3 from 1 to 3
|
||||
move 10 from 6 to 8
|
||||
move 1 from 4 to 5
|
||||
move 1 from 3 to 9
|
||||
move 5 from 9 to 8
|
||||
move 11 from 8 to 3
|
||||
move 1 from 5 to 7
|
||||
move 1 from 1 to 8
|
||||
move 1 from 6 to 1
|
||||
move 19 from 8 to 1
|
||||
move 1 from 7 to 9
|
||||
move 10 from 3 to 1
|
||||
move 3 from 3 to 8
|
||||
move 1 from 7 to 3
|
||||
move 1 from 9 to 2
|
||||
move 23 from 1 to 7
|
||||
move 1 from 1 to 9
|
||||
move 1 from 3 to 6
|
||||
move 2 from 6 to 9
|
||||
move 7 from 8 to 1
|
||||
move 8 from 8 to 1
|
||||
move 11 from 7 to 2
|
||||
move 2 from 6 to 8
|
||||
move 1 from 6 to 8
|
||||
move 7 from 8 to 6
|
||||
move 1 from 9 to 4
|
||||
move 1 from 8 to 1
|
||||
move 10 from 7 to 1
|
||||
move 6 from 2 to 5
|
||||
move 5 from 2 to 9
|
||||
move 4 from 5 to 8
|
||||
move 1 from 5 to 8
|
||||
move 13 from 1 to 6
|
||||
move 1 from 2 to 4
|
||||
move 1 from 4 to 5
|
||||
move 2 from 9 to 4
|
||||
move 3 from 9 to 4
|
||||
move 2 from 5 to 3
|
||||
move 1 from 3 to 9
|
||||
move 2 from 8 to 5
|
||||
move 2 from 5 to 7
|
||||
move 2 from 8 to 6
|
||||
move 2 from 7 to 3
|
||||
move 2 from 7 to 8
|
||||
move 4 from 1 to 3
|
||||
move 3 from 8 to 4
|
||||
move 8 from 4 to 9
|
||||
move 1 from 9 to 8
|
||||
move 3 from 3 to 6
|
||||
move 4 from 3 to 9
|
||||
move 1 from 8 to 2
|
||||
move 12 from 1 to 5
|
||||
move 9 from 6 to 8
|
||||
move 1 from 4 to 8
|
||||
move 3 from 1 to 3
|
||||
move 12 from 5 to 8
|
||||
move 1 from 2 to 6
|
||||
move 1 from 3 to 1
|
||||
move 1 from 3 to 2
|
||||
move 1 from 1 to 2
|
||||
move 16 from 6 to 1
|
||||
move 1 from 6 to 3
|
||||
move 2 from 3 to 8
|
||||
move 7 from 8 to 5
|
||||
move 1 from 2 to 6
|
||||
move 1 from 2 to 1
|
||||
move 2 from 9 to 4
|
||||
move 1 from 6 to 7
|
||||
move 8 from 9 to 8
|
||||
move 5 from 5 to 6
|
||||
move 9 from 8 to 7
|
||||
move 12 from 1 to 3
|
||||
move 2 from 6 to 3
|
||||
move 6 from 8 to 9
|
||||
move 5 from 1 to 4
|
||||
move 2 from 5 to 7
|
||||
move 11 from 7 to 3
|
||||
move 1 from 7 to 4
|
||||
move 2 from 6 to 8
|
||||
move 7 from 4 to 6
|
||||
move 3 from 8 to 7
|
||||
move 3 from 8 to 2
|
||||
move 19 from 3 to 2
|
||||
move 4 from 8 to 7
|
||||
move 2 from 9 to 8
|
||||
move 1 from 4 to 5
|
||||
move 1 from 6 to 8
|
||||
move 1 from 5 to 7
|
||||
move 8 from 9 to 4
|
||||
move 1 from 8 to 5
|
||||
move 1 from 5 to 6
|
||||
move 4 from 2 to 7
|
||||
move 8 from 6 to 9
|
||||
move 6 from 7 to 3
|
||||
move 4 from 3 to 8
|
||||
move 5 from 8 to 7
|
||||
move 15 from 2 to 8
|
||||
move 8 from 3 to 4
|
||||
move 7 from 9 to 7
|
||||
move 3 from 2 to 4
|
||||
move 2 from 7 to 4
|
||||
move 2 from 4 to 3
|
||||
move 1 from 9 to 4
|
||||
move 9 from 7 to 5
|
||||
move 4 from 5 to 9
|
||||
move 2 from 5 to 3
|
||||
move 2 from 9 to 1
|
||||
move 3 from 5 to 2
|
||||
move 4 from 3 to 1
|
||||
move 7 from 7 to 4
|
||||
move 3 from 2 to 6
|
||||
move 4 from 4 to 5
|
||||
move 2 from 1 to 6
|
||||
move 8 from 4 to 1
|
||||
move 1 from 8 to 2
|
||||
move 1 from 2 to 8
|
||||
move 11 from 8 to 7
|
||||
move 3 from 5 to 9
|
||||
move 1 from 5 to 9
|
||||
move 11 from 7 to 1
|
||||
move 7 from 8 to 9
|
||||
move 11 from 1 to 3
|
||||
move 6 from 4 to 5
|
||||
move 8 from 1 to 7
|
||||
move 4 from 6 to 5
|
||||
move 3 from 5 to 8
|
||||
move 8 from 7 to 3
|
||||
move 7 from 4 to 7
|
||||
move 7 from 5 to 6
|
||||
move 3 from 3 to 8
|
||||
move 2 from 4 to 9
|
||||
move 16 from 3 to 1
|
||||
move 7 from 7 to 1
|
||||
move 2 from 8 to 7
|
||||
move 2 from 8 to 1
|
||||
move 1 from 8 to 4
|
||||
move 1 from 7 to 4
|
||||
move 2 from 4 to 2
|
||||
move 1 from 8 to 7
|
||||
move 1 from 2 to 3
|
||||
move 1 from 2 to 4
|
||||
move 1 from 7 to 8
|
||||
move 8 from 6 to 7
|
||||
move 1 from 3 to 5
|
||||
move 15 from 1 to 2
|
||||
move 4 from 9 to 1
|
||||
move 1 from 8 to 1
|
||||
move 11 from 9 to 2
|
||||
move 21 from 2 to 6
|
||||
move 1 from 4 to 2
|
||||
move 4 from 2 to 7
|
||||
move 1 from 5 to 9
|
||||
move 1 from 9 to 4
|
||||
move 19 from 1 to 2
|
||||
move 5 from 2 to 4
|
||||
move 8 from 7 to 6
|
||||
move 10 from 6 to 2
|
||||
move 5 from 7 to 5
|
||||
move 2 from 4 to 1
|
||||
move 3 from 6 to 9
|
||||
move 3 from 9 to 2
|
||||
move 1 from 5 to 2
|
||||
move 13 from 6 to 3
|
||||
move 2 from 6 to 9
|
||||
move 17 from 2 to 3
|
||||
move 1 from 6 to 2
|
||||
move 2 from 2 to 1
|
||||
move 2 from 1 to 5
|
||||
move 5 from 5 to 3
|
||||
move 2 from 2 to 8
|
||||
move 10 from 2 to 1
|
||||
move 18 from 3 to 8
|
||||
move 13 from 8 to 1
|
||||
move 7 from 8 to 2
|
||||
move 2 from 2 to 1
|
||||
move 4 from 3 to 8
|
||||
move 1 from 2 to 7
|
||||
move 1 from 2 to 8
|
||||
move 2 from 4 to 1
|
||||
move 1 from 5 to 4
|
||||
move 1 from 9 to 6
|
||||
move 1 from 1 to 7
|
||||
move 11 from 3 to 4
|
||||
move 1 from 6 to 2
|
||||
move 7 from 1 to 2
|
||||
move 5 from 8 to 5
|
||||
move 1 from 7 to 5
|
||||
move 3 from 5 to 1
|
||||
move 7 from 1 to 6
|
||||
move 6 from 1 to 6
|
||||
move 6 from 1 to 8
|
||||
move 2 from 1 to 3
|
||||
move 5 from 2 to 5
|
||||
move 1 from 7 to 6
|
||||
move 1 from 4 to 2
|
||||
move 4 from 2 to 4
|
||||
move 1 from 1 to 9
|
||||
move 1 from 3 to 8
|
||||
move 7 from 8 to 5
|
||||
move 1 from 9 to 7
|
||||
move 1 from 9 to 4
|
||||
move 8 from 5 to 7
|
||||
move 5 from 4 to 1
|
||||
move 4 from 1 to 6
|
||||
move 3 from 1 to 6
|
||||
move 3 from 3 to 6
|
||||
move 1 from 5 to 6
|
||||
move 3 from 7 to 5
|
||||
move 15 from 6 to 7
|
||||
move 12 from 7 to 4
|
||||
move 8 from 5 to 2
|
||||
move 3 from 4 to 9
|
||||
move 3 from 9 to 7
|
||||
move 1 from 6 to 2
|
||||
move 9 from 4 to 9
|
||||
move 4 from 9 to 1
|
||||
move 2 from 1 to 7
|
||||
move 3 from 6 to 4
|
||||
move 3 from 6 to 4
|
||||
move 2 from 1 to 2
|
||||
move 1 from 5 to 6
|
||||
move 2 from 9 to 4
|
||||
move 13 from 4 to 2
|
||||
move 22 from 2 to 3
|
||||
move 3 from 7 to 8
|
||||
move 1 from 9 to 6
|
||||
move 1 from 9 to 3
|
||||
move 2 from 8 to 9
|
||||
move 3 from 9 to 8
|
||||
move 5 from 6 to 4
|
||||
move 2 from 8 to 6
|
||||
move 4 from 7 to 8
|
||||
move 2 from 2 to 5
|
||||
move 4 from 8 to 7
|
||||
move 2 from 5 to 7
|
||||
move 7 from 7 to 2
|
||||
move 9 from 4 to 7
|
||||
move 4 from 2 to 1
|
||||
move 3 from 7 to 6
|
||||
move 12 from 3 to 5
|
||||
move 5 from 2 to 5
|
||||
move 1 from 8 to 2
|
||||
move 1 from 3 to 5
|
||||
move 4 from 3 to 1
|
||||
move 2 from 6 to 1
|
||||
move 11 from 5 to 3
|
||||
move 3 from 6 to 1
|
||||
move 8 from 1 to 9
|
||||
move 5 from 9 to 8
|
||||
move 2 from 9 to 7
|
||||
move 1 from 1 to 8
|
||||
move 4 from 7 to 6
|
||||
move 6 from 3 to 1
|
||||
move 1 from 9 to 7
|
||||
move 5 from 7 to 4
|
||||
move 3 from 8 to 3
|
||||
move 1 from 6 to 5
|
||||
move 2 from 2 to 1
|
||||
move 4 from 7 to 9
|
||||
move 3 from 8 to 6
|
||||
move 6 from 3 to 8
|
||||
move 6 from 8 to 7
|
||||
move 4 from 6 to 5
|
||||
move 6 from 5 to 8
|
||||
move 2 from 9 to 5
|
||||
move 2 from 9 to 8
|
||||
move 4 from 7 to 4
|
||||
move 1 from 6 to 3
|
||||
move 5 from 8 to 4
|
||||
move 1 from 6 to 9
|
||||
move 1 from 7 to 3
|
||||
move 7 from 3 to 8
|
||||
move 6 from 1 to 4
|
||||
move 6 from 1 to 2
|
||||
move 17 from 4 to 6
|
||||
move 4 from 8 to 5
|
||||
move 3 from 3 to 1
|
||||
move 5 from 4 to 1
|
||||
move 5 from 2 to 7
|
||||
move 7 from 8 to 1
|
||||
move 7 from 7 to 2
|
||||
move 4 from 6 to 3
|
||||
move 6 from 1 to 8
|
||||
move 2 from 4 to 9
|
||||
move 2 from 5 to 4
|
||||
move 1 from 4 to 3
|
||||
move 1 from 4 to 7
|
||||
move 2 from 7 to 5
|
||||
move 4 from 5 to 3
|
||||
move 1 from 9 to 1
|
||||
move 5 from 5 to 3
|
||||
move 1 from 8 to 5
|
||||
move 7 from 6 to 1
|
||||
move 6 from 6 to 8
|
||||
move 11 from 3 to 7
|
||||
move 2 from 9 to 1
|
||||
move 8 from 8 to 2
|
||||
move 5 from 7 to 5
|
||||
move 5 from 7 to 4
|
||||
move 1 from 2 to 6
|
||||
move 2 from 4 to 6
|
||||
move 1 from 7 to 5
|
||||
move 2 from 6 to 4
|
||||
move 10 from 2 to 6
|
||||
move 3 from 4 to 5
|
||||
move 1 from 6 to 4
|
||||
move 4 from 6 to 4
|
||||
move 6 from 6 to 9
|
||||
move 3 from 3 to 8
|
||||
move 19 from 1 to 8
|
||||
move 23 from 8 to 9
|
||||
move 1 from 8 to 1
|
||||
move 1 from 1 to 7
|
||||
move 1 from 7 to 1
|
||||
move 1 from 1 to 6
|
||||
move 5 from 9 to 5
|
||||
move 1 from 8 to 5
|
||||
move 5 from 4 to 5
|
||||
move 4 from 5 to 4
|
||||
move 1 from 9 to 1
|
||||
move 6 from 9 to 3
|
||||
move 2 from 2 to 8
|
||||
move 1 from 1 to 3
|
||||
move 1 from 6 to 7
|
||||
move 1 from 7 to 3
|
||||
move 1 from 2 to 5
|
||||
move 6 from 9 to 8
|
||||
move 5 from 4 to 5
|
||||
move 10 from 5 to 2
|
||||
move 10 from 5 to 2
|
||||
move 11 from 9 to 1
|
||||
move 4 from 2 to 6
|
||||
move 18 from 2 to 9
|
||||
move 2 from 6 to 9
|
||||
move 3 from 3 to 9
|
||||
move 1 from 4 to 3
|
||||
move 1 from 6 to 8
|
||||
move 6 from 8 to 4
|
||||
move 6 from 5 to 7
|
||||
move 19 from 9 to 4
|
||||
move 7 from 1 to 3
|
||||
move 1 from 6 to 8
|
||||
move 4 from 8 to 7
|
||||
move 2 from 3 to 6
|
||||
move 3 from 1 to 8
|
||||
move 1 from 1 to 5
|
||||
move 7 from 7 to 3
|
||||
move 8 from 3 to 1
|
||||
move 1 from 5 to 7
|
||||
move 2 from 6 to 2
|
||||
move 3 from 1 to 8
|
||||
move 1 from 2 to 6
|
||||
move 3 from 1 to 7
|
||||
move 4 from 8 to 9
|
||||
move 4 from 7 to 6
|
||||
move 3 from 9 to 7
|
||||
move 3 from 9 to 3
|
||||
move 6 from 7 to 3
|
||||
move 13 from 3 to 1
|
||||
move 5 from 3 to 4
|
||||
move 1 from 8 to 7
|
||||
move 1 from 7 to 9
|
||||
move 1 from 8 to 5
|
||||
move 1 from 9 to 4
|
||||
move 1 from 5 to 2
|
||||
move 2 from 9 to 2
|
||||
move 3 from 6 to 2
|
||||
move 1 from 3 to 7
|
||||
move 13 from 4 to 8
|
||||
move 14 from 1 to 5
|
||||
move 6 from 2 to 7
|
||||
move 4 from 8 to 7
|
||||
move 1 from 1 to 3
|
||||
move 1 from 2 to 6
|
||||
move 5 from 4 to 2
|
||||
move 4 from 8 to 4
|
||||
move 12 from 5 to 4
|
||||
move 1 from 3 to 8
|
||||
move 9 from 4 to 2
|
||||
move 9 from 4 to 5
|
||||
move 1 from 4 to 5
|
||||
move 6 from 4 to 3
|
||||
move 5 from 8 to 4
|
||||
move 9 from 4 to 7
|
||||
move 4 from 2 to 3
|
||||
move 8 from 7 to 1
|
||||
move 2 from 7 to 1
|
||||
move 2 from 2 to 9
|
||||
move 1 from 6 to 7
|
||||
move 2 from 6 to 3
|
||||
move 1 from 2 to 3
|
||||
move 2 from 7 to 3
|
||||
move 3 from 3 to 7
|
||||
move 8 from 1 to 2
|
||||
move 9 from 5 to 3
|
||||
move 15 from 2 to 7
|
||||
move 20 from 7 to 5
|
||||
move 23 from 5 to 6
|
||||
move 20 from 6 to 8
|
||||
move 1 from 6 to 4
|
||||
move 2 from 9 to 7
|
||||
move 1 from 4 to 6
|
||||
move 3 from 7 to 6
|
||||
move 2 from 7 to 5
|
||||
move 13 from 3 to 5
|
||||
move 3 from 7 to 1
|
||||
move 13 from 5 to 4
|
||||
move 3 from 1 to 4
|
||||
move 5 from 6 to 1
|
||||
move 6 from 4 to 3
|
||||
move 1 from 7 to 4
|
||||
move 11 from 8 to 6
|
||||
move 1 from 8 to 6
|
||||
move 2 from 1 to 5
|
||||
move 2 from 5 to 3
|
||||
move 11 from 6 to 5
|
||||
move 3 from 8 to 3
|
||||
move 4 from 3 to 5
|
||||
move 15 from 5 to 1
|
||||
move 1 from 3 to 5
|
||||
move 3 from 8 to 5
|
||||
move 1 from 5 to 9
|
||||
move 1 from 5 to 3
|
||||
move 9 from 4 to 6
|
||||
move 7 from 6 to 8
|
||||
move 2 from 4 to 6
|
||||
move 2 from 5 to 1
|
||||
move 8 from 8 to 7
|
||||
move 6 from 6 to 2
|
||||
move 1 from 5 to 2
|
||||
move 4 from 3 to 4
|
||||
move 6 from 1 to 5
|
||||
move 7 from 3 to 4
|
||||
move 2 from 3 to 2
|
||||
move 2 from 8 to 9
|
||||
move 9 from 2 to 5
|
||||
move 9 from 5 to 4
|
||||
move 2 from 3 to 6
|
||||
move 14 from 1 to 7
|
||||
move 15 from 7 to 2
|
||||
move 1 from 1 to 7
|
||||
move 7 from 5 to 1
|
||||
move 2 from 9 to 2
|
||||
move 2 from 1 to 7
|
||||
move 1 from 1 to 4
|
||||
move 2 from 6 to 8
|
||||
move 7 from 2 to 8
|
||||
move 1 from 9 to 6
|
||||
move 7 from 8 to 3
|
||||
move 1 from 6 to 4
|
||||
move 1 from 8 to 2
|
||||
move 6 from 4 to 6
|
||||
move 9 from 2 to 1
|
||||
move 1 from 3 to 9
|
||||
move 3 from 7 to 5
|
4
2022/05/stack
Executable file
4
2022/05/stack
Executable file
@ -0,0 +1,4 @@
|
||||
[D]
|
||||
[N] [C]
|
||||
[Z] [M] [P]
|
||||
1 2 3
|
Loading…
Reference in New Issue
Block a user