← All problemsSign in

Balloon Splash

CodeChefRating 138Open on judge ↗

Alice and Bob are playing a balloon splash game. Alice has $X$ water balloons and Bob has $Y$ water balloons. The player with **more** balloons wins. If both players have the **same** number of balloons, the result is a draw. Output: - `Alice` if Alice wins - `Bob` if Bob wins - `Draw` if it is a draw ### Input - The first line contains two space-separated integers $X$ and $Y$. ### Output Out

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