Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 meditating upon the Monastery: (6)
As of 2014-09-21 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (165 votes), past polls