inside or outside
CodeChefOpen on judge ↗
you will be given $c ,x, y$ variables. there is a circle that passes through **origin**, and center **$(c,0)$**, you will be given $x$ and $y$ coordinates. print - 1 if point lies outside the circle - 0 if point lies on the circle - -1 if point lies inside the circle ### Input First-line contains three numbers separated by spaces three integer numbers are c ,x, y respectively ###
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