Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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?
[LanX]: ... but I'm probably biased because Scottish preserves older English elements which come closer to German pronunciation
[marto]: this is true

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2018-04-23 09:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?