func_code_string: #include <bits/stdc++.h>   using namespace std;   int a[400][400];   int main() {     int n;     cin >> n;     long long k = n * n;     for (int j = 1; j <= n; j++) {       if (j % 2 != 0) {         for (int i = 1; i <= n; i++) {           a[i][j] = k--;         }       } else {         for (int i = n; i >= 1; i--) {           a[i][j] = k--;         }       }     }     for (int i = 1; i <= n; i++) {       for (int j = 1; j <= n; j++) {         cout << a[i][j] <<    ;       }       cout << endl;     }     return 0;   }   