Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Golf: Selection from sets (Choose)

by no_slogan (Deacon)
on May 25, 2001 at 00:42 UTC ( #83129=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub c{
    my($m,$n)=@_;$n?$m?c($m-1,$n)+c($m-1,$n-1):0:1
    }
    
  2. or download this
    sub c{
    my($m,$n)=@_;$n?$m--?c($m,$n)+c($m,$n-1):0:1
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://83129]
help
Chatterbox?
[1nickt]: Ah hm, the article sction links don;t match the sections. Lowerdown there is info and a map

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-11-21 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (299 votes). Check out past polls.

    Notices?