func_code_string: #include <bits/stdc++.h>   using namespace std;   bool compare(int a, int b) { return a > b; }   int main() {     ios_base::sync_with_stdio(false);     cin.tie(NULL);     int n;     cin >> n;     for (long long int i = 0; i < n + 1; i++) {       for (long long int j = 0; j < 2 * (n - i); j++) {         cout <<    ;       }       for (long long int j = 0; j < i + 1; j++) {         if (i)           cout << j <<    ;         else           cout << j;       }       for (int j = i - 1; j >= 0; j--) {         if (j)           cout << j <<    ;         else           cout << j;       }       cout << endl;     }     for (int i = n - 1; i >= 1; i--) {       for (long long int j = 0; j < 2 * (n - i); j++) {         cout <<    ;       }       for (long long int j = 0; j < i + 1; j++) {         cout << j <<    ;       }       for (int j = i - 1; j >= 0; j--) {         if (j)           cout << j <<    ;         else           cout << j;       }       cout << endl;     }     for (long long int j = 0; j < 2 * (n); j++) {       cout <<    ;     }     cout <<  0 ;     return 0;   }   