Rabbit and Tortoise
CodeChefOpen on judge ↗
After losing to the Tortoise in the running race $10^9$ times, the Rabbit got irritated and decided to change the game. He challenged the Tortoise to a game of wit, a geometry game, and whoever wins will be crowned the ultimate champion! The game is as follows: - You are given $n$ co-ordinate points. It is guaranteed that the x-axis points are distinct for all points - The Tortoise starts the g
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