/in/foo.cc: In function 'bool dfs(int, int, int, int, int)':
/in/foo.cc:12:49: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(map[r][c]=='D'&&yn[r][c]==false) return rest=0;
                                             ~~~~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:16: warning: 'sty' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,m,t,stx,sty;
                ^~~
/in/foo.cc:28:12: warning: 'stx' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int n,m,t,stx,sty;
            ^~~