func_code_string: #include <bits/stdc++.h>   using namespace std;   char a[50][50];   int main() {     int n, m;     cin >> n >> m;     for (int j = 0; j < m; j++) a[0][j] =  # ;     for (int j = 0; j < m - 1; j++) a[1][j] =  . ;     a[1][m - 1] =  # ;     for (int i = 2; i < n; i++) {       for (int j = 0; j < m; j++) {         if (i % 2 == 0)           a[i][j] =  # ;         else {           if (j == 0 && a[i - 2][0] ==  . )             a[i][j] =  # ;           else if (j == m - 1 && a[i - 2][m - 1] ==  . )             a[i][j] =  # ;           else             a[i][j] =  . ;         }       }     }     for (int i = 0; i < n; i++) {       for (int j = 0; j < m; j++) cout << a[i][j];       cout <<   n ;     }     return 0;   }   