Liutauras Vilda wrote:(...) and then...
Piet - "No particular problems, exercise 7 was more tedious than difficult." <--
Piet Souris wrote:That worked perfectly in the given test, but failed for the real thing.
Tim Cooke wrote:I'm running nearly a day behind
Liutauras Vilda wrote:So I think the idea is, that when monkey's turn finished, i.e. monkey-0, then monkey-1 starts inspecting items, so basically on the item worry level need to come up with the number to divide, so the item would get thrown to one of previous monkeys, so the iteration cycles would reduce for the upcoming monkeys.
Tim Cooke wrote:The problem with monkeys part 2 is the size of the integer worry values and the time it takes to perform operations on them. Look for a way to keep the integer values small.
Liutauras Vilda wrote:Big numbers (they don't even overflow in racket) isn't a problem for part two (real input), those 10000 rounds finish almost instantly for me.