#P4166. [SCOI2007] 最大土地面积
[SCOI2007] 最大土地面积
Description
On a piece of planar land, there are points. You may choose any four of them to enclose the land. Of course, you want the polygon formed by these four points to have the maximum area.
Input Format
The first line contains a positive integer . The next lines each contain numbers , representing the -coordinate and -coordinate of the point.
Output Format
Output the maximum polygon area, rounded to decimal places.
5
0 0
1 0
1 1
0 1
0.5 0.5
1.000
Hint
.
Translated by ChatGPT 5
京公网安备 11011102002149号