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