Catch Me If You Can
CodeChefOpen on judge ↗
Problem Statement Today we are going to play a very interesting game. In the game N balls will be thrown at you horizontally from one side of the arena one after the other. Each ball will be thrown at a specified height above the ground and since the arena is gravity free, the balls will reach you at the same height that they were thrown. You will be given a bucket to catch these incoming balls f
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