Problem Statement
给N个二维平面上的点,第i个点有p[i]的概率出现在最终结果中。
问最后存在于最终结果的点所构成的凸包的面积期望是多少。
保证 N <= 50,0.001 <= p[i] <= 1。
Fox Ciel has a map of the night sky.
On this map she found a constellation that consists of n stars, numbered 0 through n-1 in no particular order.
You are given int[]s x, y, and prob.
For each i, star i is located at coordinates (x[i],y[i]) on the map.
The probability that star i will be visible when Ciel looks at the sky is prob[i]/1000.
In the evening Ciel is going to take a look at the night sky.
She will find the constellation in the sky, and mark all the visible stars on her map.
She will then compute the area of the convex hull of the visible stars.
Compute and return the expected value of that area.