Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: puzzle: how many ways to make $100

by Nevtlathiel (Friar)
on Apr 29, 2006 at 16:30 UTC ( #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
Node Status?
node history
Node Type: note [id://546504]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2017-07-22 23:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (342 votes). Check out past polls.