//https://naoyat.hatenablog.jp/entry/k-dimension-manhattan-distance #pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include #include using namespace std; using namespace atcoder; using ll=long long; void IO(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); } int main(){ IO(); ll n; cin>>n; vector> info(n,vector(5)); for(ll i=0;i>info[i][j]; } } vector ans(n); for(ll b=0;b<(1<<4);b++){ ll mx=-1e18; ll mn=1e18; vector v(n); for(ll i=0;i