···11+Monkey 0:
22+ Starting items: 89, 73, 66, 57, 64, 80
33+ Operation: new = old * 3
44+ Test: divisible by 13
55+ If true: throw to monkey 6
66+ If false: throw to monkey 2
77+88+Monkey 1:
99+ Starting items: 83, 78, 81, 55, 81, 59, 69
1010+ Operation: new = old + 1
1111+ Test: divisible by 3
1212+ If true: throw to monkey 7
1313+ If false: throw to monkey 4
1414+1515+Monkey 2:
1616+ Starting items: 76, 91, 58, 85
1717+ Operation: new = old * 13
1818+ Test: divisible by 7
1919+ If true: throw to monkey 1
2020+ If false: throw to monkey 4
2121+2222+Monkey 3:
2323+ Starting items: 71, 72, 74, 76, 68
2424+ Operation: new = old * old
2525+ Test: divisible by 2
2626+ If true: throw to monkey 6
2727+ If false: throw to monkey 0
2828+2929+Monkey 4:
3030+ Starting items: 98, 85, 84
3131+ Operation: new = old + 7
3232+ Test: divisible by 19
3333+ If true: throw to monkey 5
3434+ If false: throw to monkey 7
3535+3636+Monkey 5:
3737+ Starting items: 78
3838+ Operation: new = old + 8
3939+ Test: divisible by 5
4040+ If true: throw to monkey 3
4141+ If false: throw to monkey 0
4242+4343+Monkey 6:
4444+ Starting items: 86, 70, 60, 88, 88, 78, 74, 83
4545+ Operation: new = old + 4
4646+ Test: divisible by 11
4747+ If true: throw to monkey 1
4848+ If false: throw to monkey 2
4949+5050+Monkey 7:
5151+ Starting items: 81, 58
5252+ Operation: new = old + 5
5353+ Test: divisible by 17
5454+ If true: throw to monkey 3
5555+ If false: throw to monkey 5
+2-2
src/main.rs
···11-use crate::solutions::year_2022::{Day2, Day3, Day4, Day5, Day6, Day7, Day8, Day9, Day10};
11+use crate::solutions::year_2022::{Day2, Day3, Day4, Day5, Day6, Day7, Day8, Day9, Day10, Day11};
22use aoc_lib::Solver;
33pub mod solutions;
4455fn main() {
66- let sol = Day10::solve_part2();
66+ let sol = Day11::solve_part2();
77 println!("{:?}", sol);
88}
···88mod day8;
99mod day9;
1010mod day10;
1111+mod day11;
1112pub(crate) use day1::*;
1213pub(crate) use day2::*;
1314pub(crate) use day3::*;
···1819pub(crate) use day8::*;
1920pub(crate) use day9::*;
2021pub(crate) use day10::*;
2222+pub(crate) use day11::*;