#include #include int main(void) { int pocet, minx, miny, maxy, maxx, x, y, i, j, nasel, konec; float vzdalx2, vzdaly2, vzdalx, vzdaly; float symx, symy; int *pole[3]; scanf("%d\n", &pocet); while(pocet != 0) { minx = 0; maxx = 0; miny = 0; maxy = 0; pole[0] = (int *) malloc(pocet*sizeof(int)); pole[1] = (int *) malloc(pocet*sizeof(int)); pole[2] = (int *) malloc(pocet*sizeof(int)); for(i=0; i< pocet; i++) { scanf("%d %d\n", &x, &y); if (i == 0) { maxx = x; maxy = y; minx = x; miny = y; } if (x > maxx) maxx = x; if (x < minx) minx = x; if (y > maxy) maxy = y; if (y < miny) miny = y; pole[0][i] = x; pole[1][i] = y; pole[2][i]= 0; } symx = (float)(maxx+minx)/2.0; symy = (float)(maxy+miny)/2.0; i=0; konec =0; while( (i