Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: puzzle: how many ways to make $100

by GrandFather (Saint)
on Apr 29, 2006 at 00:44 UTC ( [id://546446]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        push @results, join ' ', map {"\$$values[$_][0] x $values[$_][1]"}
    + @denoms;
        return;
    }
    
  2. or download this
    $1 x 100
    $2 x 1 $1 x 98
    ...
    $50 x 2
    $100 x 1
    4563 combinations found
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 20:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found