func_code_string: #include <bits/stdc++.h>   using namespace std;   long long t, x, n;   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);     cin >> t;     while (t--) {       vector<long long> v;       cin >> x;       for (long long i = 0; i < x; i++) {         cin >> n;         v.push_back(n);       }       vector<long long> tmp = v;       v[0] = 0;       long long now = 1;       while ((v[now - 1] + 1) <= v[now] && now < v.size()) {         v[now] = v[now - 1] + 1;         now++;       }       long long now2 = 1;       reverse(tmp.begin(), tmp.end());       tmp[0] = 0;       while ((tmp[now2 - 1] + 1) <= tmp[now2] && now2 < v.size()) {         tmp[now2] = tmp[now2 - 1] + 1;         now2++;       }       if (now > (x - now2)) {         cout <<  Yes               <<   n ;       } else {         cout <<  No               <<   n ;       }     }     return 0;   }   