Function for the difference of two integers

Write a function

        double dist_or(double x, double y);

which returns the distance to the origen from the point (x, y).

Input

The input is formed by two reals

Observation

You only need to submit the required procedure; your main program will
be ignored.

Problem information

Author: Unknown
Translator: Maria Serna

Generation: 2026-01-25T13:23:54.748Z

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