#include #include #include #include #include #include #include #include #include #include #include #include #include #include typedef long long ll; using namespace std; //freopen("D.in","r",stdin); //freopen("D.out","w",stdout); #define sspeed ios_base::sync_with_stdio(0);cin.tie(0) #define dbg(a) cout<>T; while (T--) { int n; cin >> n >> seed; for (int i = 0; i < n; i++) x[i] = rand(-1000000000, 1000000000), y[i] = rand(-1000000000, 1000000000); ll maxx,minn,maxa,mina; int i; maxx = x[0] + y[0]; minn = maxx; maxa = x[0] - y[0]; mina = maxa; for (i=0;i