Preparando MOJI

Not a Geometry Problem

1000ms 262144K

Description:

Input:

The only line of input contains three integers $$$x$$$, $$$y$$$, $$$z$$$ ($$$-1000 \le x, y, z \le 1000$$$).

Output:

Output one real number — the answer.

Your answer is considered correct if its absolute or relative error does not exceed $$$10^6$$$. Formally, let your answer be $$$a$$$, and the jury's answer be $$$b$$$. Your answer is accepted if and only if $$$\frac{|a-b|}{\max(1,|b|)} \le 10^6$$$.

Sample Input:

1 1 1

Sample Output:

1.7320508075688772

Sample Input:

1 -2 -2

Sample Output:

21.727922061357855

Sample Input:

998 244 353

Sample Output:

-0.0006269592476489029

Sample Input:

0 0 0

Sample Output:

1792283455048516.3

Informação

Codeforces

Provedor Codeforces

Código CF1812E

Tags

*special*specialconstructive algorithmsgeometrymath

Submetido 0

BOUA! 0

Taxa de BOUA's 0%

Datas 09/05/2023 10:38:26

Relacionados

Nada ainda