func_code_string: #include <bits/stdc++.h>   using namespace std;   int a[210][210], b[210][210];   int n, m;   int main() {     while (cin >> n >> m) {       int ra = 1, rb = 1, ca = 1, cb = 1;       for (int i = 1; i <= m; i++)         if (i % 2) {           a[ra++][ca] = i;           if (ra > n) ra = 1, ca++;         } else {           b[rb++][cb] = i;           if (rb > n) rb = 1, cb++;         }       for (int i = 1; i <= n; i++) {         for (int j = ca; j >= 1; j--) {           if (!a[i][j]) continue;           cout << a[i][j] <<    ;         }         for (int j = cb; j >= 1; j--) {           if (!b[i][j]) continue;           cout << b[i][j] <<    ;         }       }     }     return 0;   }   