#include using namespace std; typedef long long ll; typedef vector vi; typedef pair pii; typedef pair pll; typedef vector vpii; typedef unsigned long long llu; #define author ayushtomar #define rf freopen("in.txt", "r", stdin) #define wf freopen("out.txt", "w", stdout) #define debug(x) cerr<<#x<<" "<>t; while(t--) { v.clear(); cin>>n; int x_min=INT_MAX; int x_max=INT_MIN; int y_min=INT_MAX; int y_max=INT_MIN; int flag=0; for(int i=1;i<=n;i++) { int a,b; cin>>a>>b; v.pb(mp(a,b)); } for(int i=0;i