func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int i, j, k, n;     cin >> n;     k = n / 2;     for (i = 1; i <= n; i++) {       cout << (i - 1) * k + 1;       for (j = (i - 1) * k + 2; j <= i * k; j++) cout <<     << j;       for (j = n * n - (i - 1) * k; j > n * n - i * k; j--) cout <<     << j;       cout << endl;     }     return 0;   }   