Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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?


Comment on RE: RE: OK, understood, but still 1 *huge* flaw
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://39468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2015-07-04 16:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls