diff options
| author | 2022-12-11 16:20:44 +0100 | |
|---|---|---|
| committer | 2022-12-11 16:20:44 +0100 | |
| commit | 9d22965e3daa2608af6bd98799a04b4cdab88abd (patch) | |
| tree | 8d71921d24f5e354f7acc9e49be665df85664d0f /day11/example.txt | |
| parent | 6355d8f564d9a57de6a971e0d0128c5affa08d45 (diff) | |
| download | 2022-9d22965e3daa2608af6bd98799a04b4cdab88abd.tar.gz 2022-9d22965e3daa2608af6bd98799a04b4cdab88abd.tar.bz2 2022-9d22965e3daa2608af6bd98799a04b4cdab88abd.zip | |
Day 11 [WIP]
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 | ||
