← All problemsSign in

King and his Quest

Problem description. Once there was a king who wanted to conquer the largest continent on Earth. During his time Earth was thought to be a plane with only integer coordinates. But, he didn't have a map. He knew that the countries are like points located at (int X, int Y); The continents had the following properties: - a continent is a circular region whose center is at (int c1, int c2) and radiu

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