summaryrefslogtreecommitdiffstats
path: root/day11/example.txt
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2022-12-11 16:20:44 +0100
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2022-12-11 16:20:44 +0100
commit9d22965e3daa2608af6bd98799a04b4cdab88abd (patch)
tree8d71921d24f5e354f7acc9e49be665df85664d0f /day11/example.txt
parent6355d8f564d9a57de6a971e0d0128c5affa08d45 (diff)
download2022-9d22965e3daa2608af6bd98799a04b4cdab88abd.tar.gz
2022-9d22965e3daa2608af6bd98799a04b4cdab88abd.tar.bz2
2022-9d22965e3daa2608af6bd98799a04b4cdab88abd.zip
Day 11 [WIP]
Diffstat (limited to 'day11/example.txt')
-rw-r--r--day11/example.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/day11/example.txt b/day11/example.txt
new file mode 100644
index 0000000..30e09e5
--- /dev/null
+++ b/day11/example.txt
@@ -0,0 +1,27 @@
1Monkey 0:
2 Starting items: 79, 98
3 Operation: new = old * 19
4 Test: divisible by 23
5 If true: throw to monkey 2
6 If false: throw to monkey 3
7
8Monkey 1:
9 Starting items: 54, 65, 75, 74
10 Operation: new = old + 6
11 Test: divisible by 19
12 If true: throw to monkey 2
13 If false: throw to monkey 0
14
15Monkey 2:
16 Starting items: 79, 60, 97
17 Operation: new = old * old
18 Test: divisible by 13
19 If true: throw to monkey 1
20 If false: throw to monkey 3
21
22Monkey 3:
23 Starting items: 74
24 Operation: new = old + 3
25 Test: divisible by 17
26 If true: throw to monkey 0
27 If false: throw to monkey 1