By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,510 Members | 1,810 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,510 IT Pros & Developers. It's quick & easy.

comparing combinations

P: n/a
Hi, i'm from belgium, europe, and my english is not perfect, so my excuses.
I ame looking for someone ho can help me with my problem.

I want to compare combinations in an imputfile, and if they have 2 or 3 or more the same numbers i want remove then; all the combinations have to be compared
i give you an example:
the imput file:

1, 2, 3, 4, 5, 6
1, 2, 3, 4, 8, 9
4, 5, 6, 10, 12, 15
7 9 11 13 15 16
7 9 15 18 20 22

Combinations with max 2 equal numbers; the othets must be removed from the imput list
the output list:
1 2 3 4 5 6
7 9 15 18 20 22

is it possible in a box were i can change
the file name and place: *.txt
the max same numbers: 2-10
THANKS
suzy
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.