Re: Math problem
Duh! Algorithm.
1. Drop each combination into an array of n elements. Where n is the number of players per game.
2. Sort each array numerically.
3. Compare each array to the next and discard in duplications.
4. Output the remaining arrays into a text file.
Ugly and inefficient, but a P4 should make short work of it.
|