Find The Point
Jem is going to buy a house in Bearland. Can you help him to choose it? Bearland has shape of circle with radius R metres and center at the point (0, 0). There is a house at every point with integer coordinates (expressed in metres), excluding the border. Since Jem likes traveling abroad, he wants to live very close to the border. More precisely, his house must be at most K centimeters away fr
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