diff options
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 | ||
