#include using namespace std; vector > v; int h,w; double calc(int x, int y){ double ret=0; for(int i=0;i> h >> w; while(cin >> s){ vector tmp(w,false); for(int i=0;i::max(); for(int i=1;i