← All problemsSign in

Win the league

In the Premier League, two teams — $\text{Team A}$ and $\text{Team M}$ — are competing for the title. You are given the final points scored by both teams: * If Team A has more points, Team A wins. * If Team M has more points, Team M wins. * If both teams have equal points, the league ends in a **DRAW**. Your task is to determine the winner of the league. ## **Function Declaration** ### **Func

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