Qualifying for Semis
CodeChefOpen on judge ↗
Team India has earned X points in the games it has played so far in this year's ICC W120 WC. To qualify for the semis 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 Team India to qualify for the semis this year? ### Input - First line will contain T, number
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.
Sign in to chat with the tutor and save your progress.
Sign in to start