HDU 1115 Lifting the Stone:求多边形重心
2016-07-27
26
HDU 1115 Lifting the Stone:求多边形重心2015-02-17HDU 1115:http://acm.hdu.edu.cn/showproblem.php?pid=1115大意:给你个n,有n个点,然后给你n个点的坐标,求这n个点形成的多边形的重心的坐标。struct point{double x, y;} P[1000010];struct line{point a, b;} ;double xmult(point p1, poi...