Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

(ar0n: laziness) RE: 'nother P(erlython) Hacker

by ar0n (Priest)
on Sep 10, 2000 at 05:08 UTC ( #31778=note: print w/ replies, xml ) Need Help??


in reply to 'nother P(erl|ython) Hacker

i'm too lazy to play the game myself:

;$*=1000;$@=int rand$*;sub _{print@_}$%= $*/2;for(;$%!=$@;$-++){;($%>$@)?$*=$%:$: =$%;$%=int(($%>$@)?$%-(($*-$:)/2):$%+($* -$:)/2);}_("Answer is $% ($- tries)\n");

-- ar0n (lazy bastard)


Comment on (ar0n: laziness) RE: 'nother P(erlython) Hacker
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (15)
As of 2014-12-18 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls