in reply to Re: Sum of N elements in an M element array
in thread Sum of N elements in an M element array
The OP said "repetitions allowed", but I read this as the numbers don't need to be pairwise different.
To increase the confusion does his demo not show any repetitions.
>
... all possible 3 elements ; a+b+c a+b+d a+b+e ...
slightly annoying.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Sum of N elements in an M element array
by Marshall (Canon) on Feb 13, 2020 at 07:36 UTC | |
by johngg (Canon) on Feb 13, 2020 at 10:38 UTC | |
by Marshall (Canon) on Feb 14, 2020 at 20:32 UTC | |
by AnomalousMonk (Archbishop) on Feb 14, 2020 at 23:25 UTC | |
by Marshall (Canon) on Feb 15, 2020 at 02:26 UTC |