#include using namespace std; using ll = long long; using P = pair; #define fix(x) fixed << setprecision(x) #define asc(x) x, vector, greater #define rep(i, n) for(ll i = 0; i < n; i++) #define all(x) (x).begin(),(x).end() templatebool chmin(T&a, const T&b){if(a>b){a=b;return 1;}return 0;} templatebool chmax(T&a, const T&b){if(a> n; vector x(n), y(n); rep(i,n) cin >> x[i] >> y[i]; ll ans = 0; rep(i,n){ rep(j,i){ ll ma = -INFLL, mi = INFLL; rep(k,n){ ll p = (x[i]-x[k])*(y[j]-y[k]) - (y[i]-y[k])*(x[j]-x[k]); chmin(mi,p); chmax(ma,p); } chmax(ans, ma-mi); } } cout << ans << '\n'; return 0; }