Choosing Teams Codeforces Practice Problem Solution Explained

Choosing Teams Codeforces Practice Problem Solution Explained