using System; using System.Collections.Generic; using System.IO; class Solution { static void Main(String[] args) { int tc = Convert.ToInt32(Console.ReadLine()); int n; int[] ar; int[] x, y; int maxx=0, maxy=0, minx=0, miny=0; for (int ti = 0; ti < tc; ti++) { n = Convert.ToInt32(Console.ReadLine()); x = new int[n]; y = new int[n]; for(int i=0;imaxx) maxx = x[i]; if(y[i]>maxy) maxy = y[i]; if(x[i]