Bobo has a triangle ABC with A(x1,y1),B(x2,y2 and C(x3,y3). Picking a point P uniformly in triangle ABC, he wants to know the expectation value E=max{SPAB,SPBC,SPCA}where SXYZ denotes the area of triangle XYZ.
波波有一个三角形,三角形三个顶点分别是A B C,在三角形内均匀取一个点P,他想知道E的期望值(E是三个子三角形的面积最大值)
Print the value of 36×E It can be proved that it is always an integer.
对答案乘36,事实证明它永远是个整数
这个题的突破口在于expectation value, in,uniformly这三个单词和事件空间内的期望值公式。
换句话说