3D Distance

Write a function distance3d that returns the Euclidean distance between
two given points in 3D space. Each point is specified by its 3 float
coordinates: distance3d(x0, y0, z0, x1, y1, z1) returns the Euclidean
distance between point (x0, y0, z0) and point (x1, y1, z1).

Problem information

Author: Jordi Delgado and José Luis Balcázar

Generation: 2026-01-25T19:24:35.820Z

© Jutge.org, 2006–2026.
https://jutge.org
