Trapezoid 1
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The base CD, the diagonal BD and the side AD of trapezoid ABCD equal to p. The leg BC is q. Find the length of the diagonal AC.
Input
Two real numbers p and q.
Output
Print the length of the diagonal AC with 4 decimal digits.
Examples
Input #1
Answer #1
Submissions 41
Acceptance rate 59%