func_code_string: #include <bits/stdc++.h>   #pragma GCC optimize( O3 ,  unroll-loops )   using namespace std;   template <typename T1, typename T2>   inline void checkmin(T1 &x, T2 y) {     if (x > y) x = y;   }   template <typename T1, typename T2>   inline void checkmax(T1 &x, T2 y) {     if (x < y) x = y;   }   int main() {     ios_base::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     long long n, k;     cin >> n >> k;     vector<string> arr(n);     vector<vector<long long>> cnt(n, vector<long long>(n));     for (auto &i : arr) cin >> i;     for (int i = 0; i <= n - k; ++i)       for (int j = 0; j < n; ++j) {         bool flag = true;         for (int p = i; p < i + k; ++p) flag = flag && (arr[p][j] ==  . );         if (flag)           for (int p = i; p < i + k; ++p) ++cnt[p][j];       }     if (k > 1) {       for (int j = 0; j <= n - k; ++j)         for (int i = 0; i < n; ++i) {           bool flag = true;           for (int p = j; p < j + k; ++p) flag = flag && (arr[i][p] ==  . );           if (flag)             for (int p = j; p < j + k; ++p) ++cnt[i][p];         }     }     long long x = 0, y = 0;     for (int i = 0; i < n; ++i)       for (int j = 0; j < n; ++j) {         if (cnt[i][j] > cnt[x][y]) {           x = i;           y = j;         }       }     cout << x + 1 <<     << y + 1;     return 0;   }   