Problem I
Mr. Noodle

To make the dishes interesting, Mario arranges the straight noodles into convex polygon shapes. To serve the dish, Mario wants to plate the polygon on the smallest possible plate, for aesthetic purposes.
Mario has
Input
The first line of input contains one integer
Output
Output one line consisting of a single double
Sample Input 1 | Sample Output 1 |
---|---|
4 1 1 1 1 |
0.7071067812 |
Sample Input 2 | Sample Output 2 |
---|---|
5 2 3 4 5 6 |
3.52095745 |