我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

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.

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

https://max.book118.com/html/2017/0314/95384762.shtm

近期文章

  • Need for Pipes
  • wordpress后台路径问题加密问题
  • win7 安装.net framework 4.7后依旧无法使用
  • Android studio 问题,急求帮助
  • C语言从键盘输入字符错误,求解(Linux centos7)
  • 如何打来浏览器新标签页并把当前页面内容在新标签页显示
  • keil 5 mdk 建立工程问题
  • 前端如何获取网站的xhr数据
  • 请问如何获得压缩文件解压后的正确格式
  • Challenge 3D Tetris
  • perl 数组移除一个hash,返回一个新数组
  • Java输出到控制台怎么有规律的换行?
  • Java新手编程题 真没见过。。。。。。。。。
  • Beans
  • cocos2dx新建项目vs2013竟然打不开
  • tensorflow 无法执行sess =tf .Session ()
  • webpack自动打包问题
  • FileRead函数的返回的是?
  • velodyne激光雷达如何进行二次开发?
  • python selenium,初学,打开Firefox后就没有反应了,这个是为什么?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华