Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 pondering the Monastery: (16)
As of 2016-04-29 13:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.