mirror of
https://github.com/rjNemo/exercism-elixir
synced 2026-06-06 02:16:48 +00:00
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)