#ifdef ONPC #define _GLIBCXX_DEBUG #endif #include using namespace std; typedef long long ll; typedef vector vi; typedef vector> vvi; typedef vector> vpi; typedef pair pi; #define F first #define S second #define PB push_back #define MP make_pair #define popcount __builtin_popcountll #define forn(i,a,b) for (ll i = a; i < b; i++) bool check(vi &arr,ll x){ forn(i,0,arr.size()-1){ if(arr[i]+((i+1)*x)>=arr[i+1]+((i+2)*x)){ // cout<>n; vi arr(n); ll mx=0; forn(i,0,n){ cin>>arr[i]; mx=max(mx,arr[i]); } // forn(i,0,n)cout<> t; forn(i,0,t){ solve(); } #ifdef ONPC cerr << endl << "finished in " << clock() * 1.0 / CLOCKS_PER_SEC << " sec" << endl; #endif }