Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

RE: RE: OK, understood, but still 1 *huge* flaw

by Fastolfe (Vicar)
on Nov 01, 2000 at 23:57 UTC ( #39468=note: print w/replies, xml ) Need Help??


in reply to RE: OK, understood, but still 1 *huge* flaw
in thread Spooky math problem

I don't care what the theory is. I may not understand it, in which case my changes to the code are non-sensical, but they basically boil down to this:
$num1 = rand(1000); $num2 = rand(1000); # pretend $num2 != $num1 $guess = rand($num1 * 2);
Are we asserting that $num2 > $guess more than 50% of the time?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://39468]
help
Chatterbox?
and cookies bake in the oven...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-12-08 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.