diff options
| author | An0nSaiko <porfeas12@gmail.com> | 2022-12-12 05:24:54 +0200 |
|---|---|---|
| committer | An0nSaiko <porfeas12@gmail.com> | 2022-12-12 05:24:54 +0200 |
| commit | 5604051de7cdc23bbb03121c97ae77f7b3a066aa (patch) | |
| tree | 8723e69be21aee6e29d45e6605c83192bf3f8b37 /day11/example.txt | |
| parent | Day 11 (diff) | |
| download | aoc22-5604051de7cdc23bbb03121c97ae77f7b3a066aa.tar.gz aoc22-5604051de7cdc23bbb03121c97ae77f7b3a066aa.zip | |
Day 11
Diffstat (limited to 'day11/example.txt')
| -rw-r--r-- | day11/example.txt | 27 |
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 @@ | |||
| 1 | Monkey 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 | |||
| 8 | Monkey 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 | |||
| 15 | Monkey 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 | |||
| 22 | Monkey 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 | ||
