← All problemsSign in

Infinite polygons

CodeChefRating 2075Open on judge ↗

IPL 2021 final is yet again between MI and CSK. It's already been two super overs and the last bowl of the third super over is left. MS Dhoni hits the ball and it gets lofted high. You, being an MI fan, want MSD to get caught. There are infinite players in the stadium and any player will always catch the ball within his area. The outermost player has an access to the whole ground which is a $n$ s

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