编程介的小学生 2017-09-13 02:13 采纳率: 20.5%
浏览 723
已采纳

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

  • 写回答

1条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 shape_predictor_68_face_landmarks.dat
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料