先求出凸包,然后利用凸包求出面积,除以50就是答案
代码:
#include<cstdio>
#include<cmath>
#include<algorithm>
using namespace std;
const int MAXN=10005;
struct Point {
double x, y;
Point() {}
Point(double x, double y) {
this->x = x;
this->y = y;
}
void read() {
scanf("%lf%lf", &x, &y);
}
} list[MAXN], p[MAXN];
typedef Point Vector;
Vector operator + (Vector A, Vector B) {
return Vector(A.x + B.x, A.y ......
阅读全文