← All problemsSign in

Mr X requires teammate!

Mr. X wants to compete in programming competition but he alone cannot participate in the competition , hence he need a teammate probably a good one , therefore he gave a problem and the one who solves it first will get a chance to be in his team. Imagine a plane with coordinate system. You are standing at the origin now u have to choose a direction to throw a ball. The ball will hit the ground at

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