|
|
|
|
|
|
combos({A, B, C, D, E}, 3)= [{A} U. combos({B, C, D, E}, 2)] U [{B} U. combos({C, D, E}, 2)] U [{C} U. combos({D, E}, 2)] =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Then, combos({B, C, D, E}, 2)= [{B} U. combos({C,D,E}, 1)] U [{C} U. combos({D,E}, 1)] U [{D} U. combos({E}, 1)] etc... =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Then, combos({C,D,E}, 1)= [{C} U. combos({D, E}, 0)] U [{D} U. combos({E}, 0)] U [{E} U. combos({}, 0)] ={{C}} U {{D}} U {{E}} ={ {C}, {D}, {E} } etc... |
|
|
vagelis wrote: |
---|
i want a solution |
vagelis wrote: |
---|
if you write if then else its not a solution it is a joke |
vagelis wrote: |
---|
i dont want to loose my time |