← All problemsSign in

Swap Group (keteki)

There is a sports tournament and we have the score board of the season. Each team plays in a group and each group has equal number of teams, teams play against each other in their respective groups only. A team can defeat another team if its score is higher than the score of the other team, irrespective of the group. Find the winners of each group if two teams swaps their groups, in the current s

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start