Rotate Sum 3
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
Special Judge, 64bit IO Format: %lld

题目描述

Grammy loves geometry. Today, she takes out her precious convex polygon and plays with it.

Grammy thinks that symmetry is a fun characteristic for a convex polygon, so she draws out all the axes of symmetry on the polygon.

NIO is a naughty boy. He repeats the following operation several times. In each operation, he chooses an axis of symmetry as the rotation axis and rotates the polygon along the axis arbitrarily. Note that after rotating the polygon, the axes of symmetry will also rotate with the polygon.

Grammy wants to know the total volume that can be sweeped by the convex polygon during NIO's operations. Please help her.

输入描述:

The first line contains an integer n (), denoting the number of vertices of the convex polygon. 

In each of the next n lines contains two integers x_i,y_i (), denoting the coordinates of the i-th vertex. The vertices are given in counterclockwise order.

It is guaranteed that the polygon does not self-intersect at any point.

输出描述:

Output a real number, denoting the volume of the sweeped area. Your answer will be considered correct if the absolute or relative error is less than .
示例1

输入

复制
3
0 -1
1 0
0 1

输出

复制
1.047197551197
示例2

输入

复制
3
1 1
4 5
1 4

输出

复制
0