#include #include #include #include using namespace std; const int MAXN = 405; int n; pair a[MAXN]; long long uLMin = LONG_MAX, uRMin = LONG_MAX, dLMin = LONG_MAX, dRMin = LONG_MAX; pair upLeft, upRight, downLeft, downRight; long long x, y, x1, y1, x2, y2; long long calcFace(pair A, pair B, pair C) { x = A.first; y = A.second; x1 = B.first; y1 = B.second; x2 = C.first; y2 = C.second; return (x*y1 + y*x2 + x1*y2) - (y*x1 + x*y2 + y1*x2); } int main() { ifstream("fence.in"); ofstream("fence.out"); long long currentFace, f1, f2, f3; long long minFace = LONG_MAX; pair O; O.first = 0;O.second = 0; cin >> n; for(int i = 0;i> a[i].first >> a[i].second; if(a[i].first>0 && a[i].second>0) { if(a[i].first*a[i].first + a[i].second*a[i].second0 && a[i].second<0) { if(a[i].first*a[i].first + a[i].second*a[i].second0) { if(a[i].first*a[i].first + a[i].second*a[i].second0) { //cout << "1" << '\n'; if(a[i].first*a[i].first + a[i].second*a[i].second0 && a[i].second==0) { //cout << "4" << '\n'; if(a[i].first*a[i].first + a[i].second*a[i].second