74
SOLUTION MEGATHREAD-🎄- 2022 Day 11 Solutions -🎄-(self.adventofcode)
submitted 3 years, 1 month ago* (edited 17 minutes after) by daggerdragon to /r/adventofcode (134.8k)
WIKI NEWS
- The FAQ section of the wiki on [Code Formatting](https://www.reddit.com/r/adventofco...
2 years, 11 months ago
—
3 years, 1 month ago3 of 3
Tip Reveddit Real-Time can notify you when your content is removed.
your account history
Tip Check if your account has any removed comments.
view my removed comments you are viewing a single comment's thread.
view all comments


I’m sorry if this question is too dumb. If the new rule produces the same result when checking divisibility as the division by 3 rule in part 1, why do they yield different results on round 20?
In part 1 example, at round 20: Monkey 0 inspected 101 times Monkey 1 inspected 95 times Monkey 2 inspected 7 times Monkey 3 inspected l 105 times
But in part 2, at round 20: Monkey 0 inspected 99 times Monkey 1 inspected 97 times Monkey 2 inspected 8 times Monkey 3 inspected 103 times
If the divisibility is the same, and the path is the same, shouldn’t both yield the same results?
Part 2 naturally differs from part 1 because you're no longer allowed to divide the worry level by 3. Removing that help is what causes the numbers to skyrocket out of control.
If you grab your working code from part 1 and only remove the division by 3 then you should get the same numbers at the example shown at part 2 at round 20. The problem is that you' won't be able to run that exact piece of code at 10000 rounds.
In other words, the course of events should be the following: