#include #include #include #include #include using namespace std; bool b; int Q, mxx,mnx,mxy,mny,x[10],y[10],n; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ cin>>Q; for(int q=0; q>n; mnx = mny = 1e6; mxx = mxy = -mnx; b = false; for(int i=0; i>x[i]>>y[i], mxx = max(mxx, x[i]), mnx = min(mnx, x[i]), mxy = max(mxy, y[i]), mny = min(mny, y[i]); for(int i=0; i