func_code_string: #include <bits/stdc++.h>   using namespace std;   inline long long getnum() {     char c = getchar();     long long num, sign = 1;     for (; c <  0  || c >  9 ; c = getchar())       if (c ==  - ) sign = -1;     for (num = 0; c >=  0  && c <=  9 ;) {       c -=  0 ;       num = num * 10 + c;       c = getchar();     }     return num * sign;   }   int A[540][540][12];   int main() {     int n = getnum();     A[1][1][0] = 1;     for (int i = 1; i <= 9; i++) {       int l = 1 << i;       int fx = l, fy = 1;       int sx = l, sy = l;       int tx = 1, ty = l;       l /= 2;       for (int j = 1; j <= l; j++) {         for (int k = 1; k <= l; k++) {           A[j][k][i] = A[j][k][i - 1];           A[fx][fy][i] = A[j][k][i - 1];           A[sx][sy][i] = A[j][k][i - 1];           A[tx][ty][i] = 1 - A[j][k][i - 1];           fy++, sy--, ty--;         }         fx--, sx--, tx++;         fy = 1, sy = l * 2, ty = l * 2;       }     }     int l = 1 << n;     for (int i = 1; i <= l; i++) {       for (int j = 1; j <= l; j++) {         if (A[i][j][n])           putchar( + );         else           putchar( * );       }       putchar(  n );     }   }   