Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by Fastolfe (Vicar)
on Nov 01, 2000 at 23:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://39468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-29 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found