2902 - K-tuples

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
Post Reply
User avatar
dovier
Posts: 1143
Joined: 8 years ago
Location: Havana, Cuba
Gender: Male
Cuba

2902 - K-tuples

Post by dovier » 5 years ago




User avatar
alurquiza
Posts: 54
Joined: 4 years ago
Gender: Male

Re: 2902 - K-tuples

Post by alurquiza » 3 years ago

Cualquier numero puede estar en K - 1 conjuntos. O sea un numero puede estar en (2^K) - 2 conjuntos y entonces por principio de la multiplicaion la cantidad de diferentes K-tuplas va a ser ((2^K) - 2)^N.

Post Reply

Return to “Problem set”