Solved 2024/01 P1+P2

This commit is contained in:
2024-12-01 12:58:38 +01:00
parent 4cb6a22981
commit 8dc31fd9f7
6 changed files with 231 additions and 1 deletions
+31
View File
@@ -91,6 +91,37 @@ states = {
}
}
# print(states)
# max_steps = 6
# begin_state = 'A'
# states = {
# 'A': {
# 0: {
# 'W': 1,
# 'M': 'R',
# 'C': 'B'
# },
# 1: {
# 'W': 0,
# 'M': 'L',
# 'C': 'B'
# }
# },
# 'B': {
# 0: {
# 'W': 1,
# 'M': 'L',
# 'C': 'A'
# },
# 1: {
# 'W': 1,
# 'M': 'R',
# 'C': 'A'
# }
# }
# }
if part == 1:
end = False