#include<stdio.h> #include<iostream> using namespace std; bool map[105][105]; int sum[105][105]; int main() { int n, m; cin >> n >> m; char ch; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { cin >> ch; if (ch == '*') map[i][j] ...