summaryrefslogtreecommitdiff
path: root/Day11/testinput
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2023-01-06 14:37:59 +0100
committerAndreas Grois <andi@grois.info>2023-01-06 14:37:59 +0100
commit5c56191f800023e97e66a5498f2ed5911ee2973f (patch)
tree7e7caa32e9e13392b95e9c5cabae54af610068b0 /Day11/testinput
parentc8f2eb9ecb95c16a68b3d85c10574a4550b5ceea (diff)
Day11 Part 1
Diffstat (limited to 'Day11/testinput')
-rw-r--r--Day11/testinput27
1 files changed, 27 insertions, 0 deletions
diff --git a/Day11/testinput b/Day11/testinput
new file mode 100644
index 0000000..30e09e5
--- /dev/null
+++ b/Day11/testinput
@@ -0,0 +1,27 @@
+Monkey 0:
+ Starting items: 79, 98
+ Operation: new = old * 19
+ Test: divisible by 23
+ If true: throw to monkey 2
+ If false: throw to monkey 3
+
+Monkey 1:
+ Starting items: 54, 65, 75, 74
+ Operation: new = old + 6
+ Test: divisible by 19
+ If true: throw to monkey 2
+ If false: throw to monkey 0
+
+Monkey 2:
+ Starting items: 79, 60, 97
+ Operation: new = old * old
+ Test: divisible by 13
+ If true: throw to monkey 1
+ If false: throw to monkey 3
+
+Monkey 3:
+ Starting items: 74
+ Operation: new = old + 3
+ Test: divisible by 17
+ If true: throw to monkey 0
+ If false: throw to monkey 1