258 B
258 B
Hints
General
-
The distance of a point
(x, y)from the center of the target(0, 0)can be calculated withsqrt(x*x + y *y) -
You can calculate the square root of
xby raising it to the power of1/2. In other words,sqrt(x) == pow(x, 0.5)