#include #include struct point { double x; double y; }; int cmp(const void *a, const void*b) { point *c, *d; c = (point *)a; d = (point *)b; if (fabs(c->x - d->x)<0.00001 && fabs(c->y - d->y)<0.00001) return 0; if (c->x > d->x) return 1; else if (c->x < d->x) return -1; else { if (c->y > d->y) return 1; else if (c->y < d->y) return -1; } return 0; } void oposite(point s, point a,point *a2) { double dx; double dy; dx = a.x-s.x; dy = a.y-s.y; a2->x = s.x - dx; a2->y = s.y - dy; } int main () { point p[20004]; int n; scanf("%d", &n); while (n != 0) { for (int i=0; i