diff options
author | Nat Lasseter <user@4574.co.uk> | 2022-12-11 12:53:22 +0000 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2022-12-11 12:53:22 +0000 |
commit | f1f4d07d5784d0bf2b63bd2206c7d5f5f7e76479 (patch) | |
tree | 7823590867edcf16ca9c13f111e642257cae1f3c /day11/test | |
parent | 1128a670513a77fa62cba789d5b4c942e3b46c5d (diff) |
Day 11
Diffstat (limited to 'day11/test')
-rw-r--r-- | day11/test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/day11/test b/day11/test new file mode 100644 index 0000000..30e09e5 --- /dev/null +++ b/day11/test @@ -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 |