#include #include using namespace std; struct point {int x,y;} a[10]; int rotate(point a, point b, point c) { return (b.x-a.x)*(c.y-b.y)-(b.y-a.y)*(c.x-b.x); } int main() { vector h,p; int j, k, n,dj,dk; ifstream fi; ofstream fo; fi.open("jarvis.in"); fo.open("jarvis.out"); fi>>n; for (j=0; j>a[j].x>>a[j].y; p.push_back(j); } // 1. Пошук стартової точки і розташування її на початку масиву for (j=1; j