← All problemsSign in

Team Competition

There are four teams named $A$, $B$, $C$ and $D$. They have competed continuous for 30 days to be on the top. You have result of matches of 30 days with name of the team that won on that particular day. Now you have to print which team won and if there is tie between two or more teams print the name of all the teams arranged alphabetically separated by a single space. ### Input - First line will

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