To help you on the road: have a look at this. To whack up a first solution, take only the first r items of the permutations, and filter out the duplicates.
Hope this help,
Jeroen
"We are not alone"(FZ)
In reply to Re: nCr arrays of size r
by jeroenes
in thread nCr arrays of size r
by PsychoSpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |