信奥赛基础习题集—几何问题

C. Goat in the Garden

单点时限: 2.0 sec

内存限制: 256 MB

Someone has let a goat in a square kitchen-garden and had bound it to a stake. The stake is driven into the ground in the very midst of the square. The goat is hungry as a hunter and very voracious, and eats everything that can be reached without leaving the square and tearing the roap. What area of the kitchen-garden will be ate round?

输入格式

There are several test cases.Each contains lengths of the garden sides and a cord length in meters (natural numbers not exceeding $100$, located in one line and separated with a space).

输出格式

Should contain an area of the kitchen-garden (in square meters to within $3$ symbols after a decimal point), ate round by the goat.

样例

Input
10 6
Output
95.091
不限期开放

积分

题目 计分
A 100
B 100
C 100
D 100
E 100
F 100
G 100
这里显示的是你在现在一次提交正确所获得的计分。