← All problemsSign in

Alice and Marks

CodeChefRating 362Open on judge ↗

Alice has scored $X$ marks in her test and Bob has scored $Y$ marks in the same test. Alice is happy if she scored at least twice the marks of Bob’s score. Determine whether she is happy or not. ### Input - The first and only line of input contains two space-separated integers $X, Y$ — the marks of Alice and Bob respectively. ### Output For each testcase, print `Yes` if Alice is happy and `No` i

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