← All problemsSign in

RCB and Playoffs

CodeChefRating 788Open on judge ↗

Team RCB has earned $X$ points in the games it has played so far in this year's IPL. To qualify for the playoffs they must earn **at least** a total of $Y$ points. They currently have $Z$ games left, in each game they earn $2$ points for a win, $1$ point for a draw, and no points for a loss. Is it possible for RCB to qualify for the playoffs this year? ### Input - First line will contain $T$, nu

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