当前你的浏览器版本过低,网站已在兼容模式下运行,兼容模式仅提供最小功能支持,网站样式可能显示不正常。
请尽快升级浏览器以体验网站在线编辑、在线运行等功能。

建议使用的浏览器:

谷歌Chrome 火狐Firefox Opera浏览器 微软Edge浏览器 QQ浏览器 360浏览器 傲游浏览器

3528:Ultimate Weapon

题目描述

In year 2008 of the Cosmic Calendar, the Aliens send a huge armada towards the Earth seeking after conquest. The humans now depend on their ultimate weapon to retain their last hope of survival. The weapon, while capable of creating a continuous, closed and convex lethal region in the space and annihilating everything enclosed within, unfortunately exhausts upon each launch a tremendous amount of energy which is proportional to the surface area of the lethal region.

Given the positions of all battleships in the Aliens' armada, your task is to calculate the minimum amount of energy required to destroy the armada with a single launch of the ultimate weapon. You need to report the surface area of the lethal region only.

输入解释

The first line contains one number N -- the number of battleships.(1 ≤ N ≤ 500)
Following N lines each contains three integers presenting the position of one battleship.

输出解释

The minimal area rounded to three decimal places.

输入样例
4
0 0 0
4 0 0
2 3 0
1 1 2
输出样例
19.137
提示
There are no four coplaner battleships.

该题目是Virtual Judge题目,来自 北京大学POJ

源链接: POJ-3528

最后修改于 2020-10-29T07:03:47+00:00 由爬虫自动更新

共提交 0

通过率 --%
时间上限 内存上限
2000 131072