编程介的小学生
2017-09-17 13:41Enclose 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.
Input
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.
Output
For each test case, output the maximum area the lines could enclose, accurate up to 2 decimal places.
Sample Input
5 5 5 5
Sample Output
25.00
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 在双引号字符串中插入变量
- it技术
- 互联网问答
- IT行业问题
- 计算机技术
- 编程语言问答
- 1个回答
- 在Html标题中包含PHP变量
- html
- php
- 1个回答
- PHP电子邮件表单中的锚标记
- css
- html
- php
- 4个回答
- PHP中的字符串不包括$ variable
- string
- variables
- shell
- php
- 1个回答
- 无法在<script>标记或其他内容上呈现页面或DOMDocumentFragment中断
- javascript
- php
- 1个回答
换一换