Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 about the Monastery: (9)
As of 2014-11-21 00:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (103 votes), past polls