func_code_string: #include <bits/stdc++.h>   using namespace std;   static const int INF = 0x3f3f3f3f;   static const long long INFL = 0x3f3f3f3f3f3f3f3fLL;   const int lim = 2001;   int A[lim];   int main() {     int n;     scanf( %d , &n);     for (int i = 0; i < n; ++i) scanf( %d , &A[i]);     long long int total = 0ll;     for (int i = 0; i < n; ++i) {       for (int j = i + 1; j < n; ++j) {         if (A[i] > A[j]) total = total + 1ll;       }     }     int q;     scanf( %d , &q);     while (q--) {       int a, b;       scanf( %d %d , &a, &b);       total = total + ((b - a + 1) * 1ll * (b - a)) / 2ll;       if (total % 2 == 1ll)         printf( odd n );       else         printf( even n );     }     return 0;   }   