Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re (tilly) 6: (Golf as well): List of Partitions

by tilly (Archbishop)
on May 07, 2001 at 15:35 UTC ( #78476=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    ...map{"@$_\n"}@a...
    ...map"@$_\n",@a...
    
  2. or download this
    ...map{$$_[0]>$i?():[$i,@$_]}P($n-$i)...
    ...map$$_[0]>$i?():[$i,@$_],P($n-$i)...
    
  3. or download this
    sub P{
    my$i=pop;[$i],map{--$i;map$$_[0]>$i?():[$i,@$_],P($_-1)}2..$i
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2014-08-23 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls