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