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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-06-26 03:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.