題目來源:judgegirl from ntu prof. pangfeng Liu
Task Description
Write a program to determine how much grass a cow can eat. A cow is attached to a rope of length , and the other end of the rope is attached to a corner of a rectangular house of width and depth . Please determine the area the cow can browse.
Input
The input has three double precision number , , and .
Output
The output has a double precision number (in %f
) format.
Bounds
- We assume that .
Sample input
10.0 10.0 5.0
Sample output
58.904861