#include #include void connect(int n); struct point *elementy[200000]; int compare(const void *arg1, const void *arg2) { struct point *Arg1=(struct point*)arg1; struct point *Arg2=(struct point*)arg2; return((Arg2->x - elementy[0]->x)*(Arg1->y - elementy[0]->y) -(Arg1->x - elementy[0]->x)*(Arg2->y - Arg1->y)); } struct point { int x; int y; int numer; int kto; int zajety; } PUNKTY[200000]; int main() { int n,N,i, numer=1; int smallest=0; scanf("%d\n", &n); for(i=0; iy < elementy[smallest]->y) { smallest=i; } else if(elementy[i]->y == elementy[smallest]->y && elementy[i]->x < elementy[smallest]->x) { smallest=i; } } N=2*n; numer=1; for(; iy < elementy[smallest]->y) { smallest=i; } else if(elementy[i]->y == elementy[smallest]->y && elementy[i]->x < elementy[smallest]->x) { smallest=i; } } for(i=0; ix, elementy[i]->y); } /*laczenie*/ connect(N); return 0; } void connect(int N) { if(N==2) printf("1"); else printf("bla bla bla"); }