← All problemsSign in

John and Circles

Problem description. You are a mathematics student living in Flatland.Unlike Earth, the people in Flatland still believe that their planet is a flat circle(2 Diemensional) and not a sphere as Earth is. Also, the only curve they are aware of is the Circle.They have zero knowledge about the existence of other curves like elliptical, straight line, etc.Everything on flatland is circle based. ne 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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start