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 ABAB and CDCD is perpendicular and the length of OAOA, OBOB, ODOD 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 OAOA, OBOB, ODOD 5000\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 10610^{-6}.

Sample

InputOutput
20 50 71
45.1092377973

    Discussion

    Statistics


    96% Solution Ratio

    Nowshin_SEarliest, Oct '20

    Nowshin_SFastest, 0.0s

    TurinhstuLightest, 0 B

    mdvirusShortest, 84B

    Submit

    Login to submit

    Toph uses cookies. By continuing you agree to our Cookie Policy.