Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: puzzle: how many ways to make $100

by Nevtlathiel (Friar)
on Apr 29, 2006 at 16:30 UTC ( [id://546504]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1.    fun change (till, 0) = [[]]
    2.      |  change ([], amt) = []
    ...
    7.            | allchange (cs::css) = (coin::cs) :: allchange css
    8.        in allchange (change (coin::till, amt - coin)) @ change (til
    +l, amt)
     9.       end;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found