#include typedef struct{ char map[50][50]; }Map; int h,w; int check(Map m,int x,int y){ int i,j; Map t; t=m; for(i=0;i