#include using namespace std; bool checkDyDx(int h, int w, int dy, int dx, vector m) { int i, j; for(i=0; i> h >> w; int i; vector vs; string bufstr; for(i=0; i> bufstr; vs.push_back(bufstr); } int j; /* for(i=0; i