Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Golf: Movie style code cracker.

by blokhead (Monsignor)
on Sep 12, 2008 at 19:24 UTC ( #710986=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $n=pop;for(;;){warn$f,map(int rand 10,1..$n),$/;++$i%1e3 or$f.=int ran
    +d 10 and$n--or last}
    
  2. or download this
    @x=("%d")x($n=pop);$"="";for(;;){printf"@x\n",map(int rand 10,1..$n);+
    ++$i%500 or$n-=$x[rand@x]=~s/../int rand 10/e or last;}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2021-04-15 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?