func_code_string: #include <bits/stdc++.h>   using namespace std;   int read() {     int x = 0, f = 1;     char ch = getchar();     while (ch <  0  || ch >  9 ) {       if (ch ==  - ) f = -1;       ch = getchar();     }     while (ch >=  0  && ch <=  9 ) {       x = x * 10 + ch -  0 ;       ch = getchar();     }     return x * f;   }   int n;   int s[105];   void swap(int first, int last) {     while (first <= last) {       int t = s[first];       s[first] = s[first + 1];       s[first + 1] = t;       first += 2;     }   }   int main() {     n = read();     for (int i = 1; i <= n; i++) {       s[i] = read();     }     bool b = true;     while (b) {       b = false;       for (int i = 1; i <= n - 1; i++) {         if (s[i] > s[i + 1]) {           b = true;           int j = i + 2;           while (j < n && s[j] > s[j + 1]) j += 2;           cout << i <<     << j - 1 << endl;           swap(i, j - 2);           break;         }       }     }     return 0;   }   