func_code_string: #include <bits/stdc++.h>   using namespace std;   const int maxN = 2e5 + 9, MOD = 1e9 + 7;   int n;   long long arr[maxN], ot[maxN];   long long maxsub(long long *arr, int n) {     long long cr = LLONG_MIN / 4, maxi = LLONG_MIN / 4;     for (int i = 0; i < n; i++) {       cr = max(arr[i], cr + arr[i]);       maxi = max(maxi, cr);     }     return maxi;   }   long long trr(long long *arr, int sta) {     int ct = 0;     for (int i = sta, cnd = 1; i + 1 < n; i++, cnd *= -1) {       ot[ct++] = abs(arr[i] - arr[i + 1]) * cnd;     }     return maxsub(ot, ct);   }   int main() {     ios::sync_with_stdio(false);     cin.tie(0), cout.tie(0);     cin >> n;     for (int i = 0; i < n; i++) {       cin >> arr[i];     }     cout << max(trr(arr, 0), trr(arr, 1)) <<   n ;   }   