// #include "atcoder/convolution" #include "atcoder/dsu" #include "atcoder/fenwicktree" #include "atcoder/lazysegtree" #include "atcoder/math" #include "atcoder/maxflow" #include "atcoder/mincostflow" #include "atcoder/modint" #include "atcoder/scc" #include "atcoder/segtree" #include "atcoder/string" #include "atcoder/twosat" using namespace atcoder; #include using namespace std; // #include #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rep2(i,a,b) for (int i = (int)(a); i < (int)(b); i++) #define all(v) v.begin(),v.end() #define inc(x,l,r) ((l)<=(x)&&(x)<(r)) #define Unique(x) sort(all(x)), x.erase(unique(all(x)), x.end()) #define pcnt __builtin_popcountll typedef long long ll; #define int ll using ld = long double; using vi = vector; using vs = vector; using P = pair; using vp = vector

; // using Bint = boost::multiprecision::cpp_int; template bool chmax(T1 &a, const T2 b) {if (a < b) {a = b; return true;} else return false; } template bool chmin(T1 &a, const T2 b) {if (a > b) {a = b; return true;} else return false; } template using priority_queue_greater = priority_queue, greater>; template istream &operator>>(istream& is,vector &v){for(T &in:v)is>>in;return is;} template ostream &operator<< (ostream &os, const pair &p){os << p.first <<" "<> (istream &is, modint1000000007 &m){ll in;is>>in;m=in;return is;} ostream &operator<< (ostream &os, const modint998244353 &m){os << m.val();return os;} istream &operator>> (istream &is, modint998244353 &m){ll in;is>>in;m=in;return is;} template void input(T&... a){(cin>> ... >> a);} #ifdef LOCAL template ostream &operator<<(ostream &os,const vector &v){os<<"\x1b[32m";rep(i,v.size())os< void print(T& a){cout << "\x1b[32m"<< a<< '\n' << "\x1b[0m";} template void print(const T&a, const Ts&... b){cout << "\x1b[32m" << a;(cout<<...<<(cout<<' ',b));cout<<'\n' << "\x1b[0m";} #else template ostream &operator<<(ostream &os,const vector &v){rep(i,v.size())os< void print(T& a){cout << a<< '\n';} template void print(const T&a, const Ts&... b){cout << a;(cout<<...<<(cout<<' ',b));cout<<'\n';} #endif #define VI(v,n) vi v(n); input(v) #define INT(...) int __VA_ARGS__; input(__VA_ARGS__) #define STR(...) string __VA_ARGS__; input(__VA_ARGS__) #define CHAR(...) char __VA_ARGS__; input(__VA_ARGS__) int sign(ll x){return x>0?1:x<0?-1:0;} ll ceil(ll x,ll y){assert(y!=0);if(sign(x)==sign(y))return (x+y-1)/y;return -((-x/y));} ll floor(ll x,ll y){assert(y!=0);if(sign(x)==sign(y))return x/y;if(y<0)x*=-1,y*=-1;return x/y-(x%y<0);} ll abs(ll x,ll y){return abs(x-y);} ll bit(int n){return 1ll<a = (a==0?0:a>0?1:-1); this->b = 0; return; } ll g = gcd(abs(a),abs(b)); if (b < 0) g = -g; this->a = a/g; this->b = b/g; } // frac inv() const { return frac(b,a);} // friend frac ceil(const frac &f) {return frac(::ceil(f.a,f.b),1);} frac operator+(const frac& x) const { return frac(a*x.b + x.a*b, b*x.b);} frac operator-(const frac& x) const { return frac(a*x.b - x.a*b, b*x.b);} frac operator*(const frac& x) const { return frac(a*x.a, b*x.b);} frac operator/(const frac& x) const { return frac(a*x.b, b*x.a);} frac& operator+=(const frac& x) { return *this = *this + x;} frac& operator-=(const frac& x) { return *this = *this - x;} frac& operator*=(const frac& x) { return *this = *this * x;} frac& operator/=(const frac& x) { return *this = *this / x;} bool operator<(const frac& x) const { return a*x.b < x.a*b;} bool operator>(const frac& x) const { return a*x.b > x.a*b;} bool operator==(const frac& x) const { return a == x.a && b == x.b;} bool operator!=(const frac& x) const { return a != x.a || b != x.b;} friend ld sqrt(const frac &x) {return sqrtl(x.a)/sqrtl(x.b);} friend ostream& operator<<(ostream&o,const frac&a){o<>(istream &is, Point &p){is >> p.x >> p.y;return (is);} friend ostream &operator<<(ostream &os, Point &p){os << p.x << " " << p.y;return (os);} }; enum{ONLINE_FRONT=-2,CLOCKWISE=-1,ON_SEGMENT=0,COUNTER_CLOCKWISE=1,ONLINE_BACK=2}; int ccw(const Point &a,const Point &b){ int crs = cross(a,b); return crs>0?COUNTER_CLOCKWISE :crs<0?CLOCKWISE :dot(a,b)<0?ONLINE_BACK :norm(a) &p){ ll res = 0; for(int i=0;i p(n); rep(i,n){ INT(x,y); p[i] = Point(x,y); } int ans = 0; rep(i,n)rep(j,i){ Line l(p[i],p[j]); pair v1={-1,{0,0}}; pair v2={-1,{0,0}}; rep(k,n)if(k!=i&&k!=j){ auto d2 = distance(l,p[k]); if(ccw(p[i],p[j],p[k])==CLOCKWISE){ if(v1.first0&&v2.first>0){ auto p3 = v1.second; auto p4 = v2.second; chmax(ans,Area2({p[i],p3,p[j],p4})); } } print(ans); return 0; }