题目链接:uva 10585 - Center of symmetry
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
typedef long long ll;
struct Point {
ll x, y;
void read() { scanf("%lld%lld", &x, &y); }
bool operator < (const Point& u) const { return x < u.x || (x == u.x && y < u.y); };
Point (ll x = 0, ll y = 0): x(x), y(y) {}
Point operator + (const Point& u) { return Point(x+u.x,y+u.y); }
Point operator - (const Point& u) { return Point(x-u.x,y-u.y); }
ll operator * (const Point& u) { return x*u.y - y*u.x; }
};
const int maxn = 10005;
int N;
Point A[maxn];