[Jprogramming] Testing myself
Geoff Canyon
geoffc at inspiredlogic.com
Wed Feb 6 00:02:06 HKT 2008
On Feb 5, 2008, at 7:35 AM, Devon McCormick wrote:
> For your example "i. 5 3", there should be 3^5 possible sums
> (including
> duplicates).
This is the key phrase. I'm removing duplicates. Perhaps I should have
said "unique sums."
In any case, figuring them all out and then removing duplicates isn't
an option because I'm likely going to be dealing with matrices up to
at least 20x20, perhaps 30x30 or more.
thanks,
Geoff
More information about the Programming
mailing list