题号:NC201114
时间限制:C/C++/Rust/Pascal 2秒,其他语言4秒
空间限制:C/C++/Rust/Pascal 256 M,其他语言512 M
Special Judge, 64bit IO Format: %lld
题目描述
Let

be a sphere with radius

and center
%7D)
. Let

be

points on the surface of

. The positions of

are fixed while the position of

is a uniform random point on the surface of

. Let

be

if there exists a hemisphere of

that contains

and

otherwise. Calculate the expected value of

.
输入描述:
The first line contains an integer
denoting the number of points (
).
The
-th line of the next
lines contains three integers
denoting the point
(
).
It is guaranteed that

are distinct.
输出描述:
Output the answer.
The answer will be considered correct if its absolute or relative error doesn't exceed
.