There are three kinds of actuaries: those who can count, and those who can't.
Liutauras Vilda wrote:(...) and then...
Piet - "No particular problems, exercise 7 was more tedious than difficult." <--![]()
There are three kinds of actuaries: those who can count, and those who can't.
Piet Souris wrote:That worked perfectly in the given test, but failed for the real thing.
Tim Driven Development | Test until the fear goes away
There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Tim Driven Development | Test until the fear goes away
Tim Cooke wrote:I'm running nearly a day behind
Tim Driven Development | Test until the fear goes away
There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Tim Driven Development | Test until the fear goes away
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 Driven Development | Test until the fear goes away
Tim Driven Development | Test until the fear goes away
There are three kinds of actuaries: those who can count, and those who can't.
Tim Driven Development | Test until the fear goes away
There are three kinds of actuaries: those who can count, and those who can't.
Tim Driven Development | Test until the fear goes away
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.
We're being followed by intergalactic spies! Quick! Take this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|