#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; ll isqrt(ll s){ ll l=0, r=3e9, c; while(r-l>1){ c = (l+r)/2; if (c*c <= s) l = c; else r = c; } return l; } void solve(){ ll N, g; cin >> N; vector A(N); for (int i=0; i> A[i]; for (int i=0; i> T; while(T){ T--; solve(); } return 0; }