func_code_string: #include <bits/stdc++.h>   using namespace std;   void speed() {     ios::sync_with_stdio(false);     cin.tie(NULL);     cout.tie(NULL);   }   const long long N = 1e5 + 5;   const long long NN = 105;   const long long MAX = 2e5 + 123;   const long long MOD = 1e9 + 7;   const long long INF = 1e18;   map<long long, long long> m;   long long ans = 1, cnt;   vector<pair<long long, pair<long long, long long> > > v;   void hajime() {     long long n, a[N * 2];     scanf( %I64d , &n);     for (long long i = 1; i <= n; i++) scanf( %I64d , &a[i]);     a[n + 1] = -INF;     long long l = 1;     long long mx = 0;     for (long long i = 1; i <= n; i++) {       if (a[i] < a[i + 1]) {         ans++;       } else {         mx = max(mx, ans);         v.push_back({ans, {l, i}});         ans = 1;         l = i + 1;       }     }     for (int i = 0; i < v.size(); i++) {       if (i) {         if (a[v[i].second.first + 1] > a[v[i - 1].second.second]) {           mx = max(mx, v[i].first + v[i - 1].first - 1);         }       }       if (i != v.size() - 1) {         if (a[v[i].second.second - 1] < a[v[i + 1].second.first]) {           mx = max(mx, v[i].first + v[i + 1].first - 1);         }       }     }     cout << mx;   }   int main() {     long long miyagi = 1;     while (miyagi--) hajime();   }   