Practice on Toph

Participate in exhilarating programming contests, solve unique algorithm and data structure challenges and be a part of an awesome community.

HAKA-LAKA King

By Islam_Rafat · Limits 1s, 512 MB

Alice and Bob are participating for this year’s HAKA-LAKA contest. Both of them qualified for the final with their talent. Now in the final, they got a very easy geometry problem to solve. Whoever can solve the problem will be this year’s HAKA-LAKA King. So the problem requires one to find the radius of a circle where $AB$ and $CD$ is perpendicular and the length of $OA$, $OB$, $OD$ are given. Bob doesn’t know how to solve this problem so this is the golden opportunity for Alice to win. Since you’re Alice’s friend, help Alice to solve the problem.

Input

Every test will contain 3 integers $OA$, $OB$, $OD$ $\leq 5000$

Output

You have to print the answer as per statement.

Your answer will be considered correct if its absolute or relative error doesn’t exceed $10^{-6}$.

Sample

InputOutput
20 50 71
45.1092377973

    Discussion

    Statistics


    95% Solution Ratio

    Nowshin_SEarliest, 2w ago

    Nowshin_SFastest, 0.0s

    TurinhstuLightest, 0 B

    mdvirusShortest, 84B

    Submit

    Login to submit