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

Re: Find combination of numbers whose sum equals X

by johngg (Canon)
on Nov 20, 2020 at 17:38 UTC ( #11123915=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
            }
        }
    }
    
  2. or download this
    
    Find sums from 1, 99, 2, 40, 50, 100, 60, 90, 3, 5, 95, 100 making 100
    ...
    5+15+80
    5+5+10+80
    5+5+5+5+80
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2021-02-25 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?