0_0_23674054_3490.cpp: In function 'void dfsc(int, int, int)': 0_0_23674054_3490.cpp:42:63: error: 'temp' was not declared in this scope if(dx<0||dy<0||dx>=n||dy>=m||markc[dx][dy]||s[dx][dy]!=cat[temp]) ^