A group of firends Anna (A), Bjorn (B), Candice (C), David (D) and Ellen (E) want to enter a basketball contest that caters for teams of different sizes. A team with n players is called an n-team. A player can be in several different teams, including teams of the same size. There is a restriction however: players in a 2-team cannot polay together in any larger team. For example, if friends A,B,C,D form the teams AB, BCD, ACD, then they cannot also form the teams BD or ABC, among others. The five friends want to enter 8 teams including at least one 2-

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter10: Classes And Data Abstraction
Section: Chapter Questions
Problem 19PE
icon
Related questions
Question
100%

A group of firends Anna (A), Bjorn (B), Candice (C), David (D) and Ellen (E) want to enter a basketball contest that caters for teams of different sizes. A team with players is called an n-team. A player can be in several different teams, including teams of the same size. There is a restriction however: players in a 2-team cannot polay together in any larger team. For example, if friends A,B,C,D form the teams AB, BCD, ACD, then they cannot also form the teams BD or ABC, among others.

The five friends want to enter 8 teams including at least one 2-team and at least one 3-team and no team of any other size. Find three ways of doing this with a different number of 3-teams in each case.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 19 images

Blurred answer
Knowledge Booster
Topological Sort
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning