func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     int n, m, a = 0, b, c, d, i, j;     char s[116][116];     cin >> n >> m;     for (i = 1; i <= n; i++) {       for (j = 1; j <= m; j++) {         cin >> s[i][j];       }     }     for (i = 1; i <= n && a == 0; i++) {       for (j = 1; j <= m; j++) {         if (s[i][j] ==  B ) {           a = i;           break;         }       }     }     for (i = a, j = 1; j <= m; j++) {       if (s[i][j] ==  B ) {         b = j;         break;       }     }     for (i = a, j = m; j > 0; j--) {       if (s[i][j] ==  B ) {         c = j;         break;       }     }     d = (c - b) / 2;     cout << a + d <<     << c - d;   }   