shunfurh 于 2017.09.17 21:41 提问
- Enclose It
Given lengths of four line segments, you should tell the maximum area they could enclose.
An area is enclosed means it is isolated from the outer part by the four line segments.
There are several test cases. Each case contains four integers in a line, each of which representing the length of a line segment. All integers are in the range of (0, 100).
Proceed to the end of file.
For each test case, output the maximum area the lines could enclose, accurate up to 2 decimal places.
5 5 5 5
- caozhy 2017.10.02 08:51