#include #include #include #include using namespace std; const int MAXN = 10; const int oops = 1e5; typedef pair Point; #define X first #define Y second Point points[MAXN + 5]; int n; int main() { // freopen("commute.in","r",stdin); int c,c2; int tests; scanf("%d",&tests); while (tests--) { scanf("%d",&n); int minX = oops, maxX = -oops, minY = oops, maxY = -oops; for (c=0;c