← All problemsSign in

RCB vs CSK

CodeChefRating 282Open on judge ↗

In the recent RCB vs CSK match, RCB batted first and scored $X$ runs while CSK batted second and scored $Y$ runs. It is known that RCB qualifies to the playoffs if they win by **at least** $18$ runs, otherwise CSK qualify. Knowing the final scores of both teams, find out who qualified to the playoffs. ### Input - The only line of input contains $2$ integers $X$ and $Y$ - the final scores of RCB

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