0_0_39078977_15625.cpp: In function 'void dfs(int, int, int)':
0_0_39078977_15625.cpp:32:50: error: 'am' was not declared in this scope; did you mean 'tm'?
32 | if(xx > 0 && xx <= n && yy > 0 &&am
| ^~
| tm
0_0_39078977_15625.cpp:32:52: error: expected ')' at end of input
32 | if(xx > 0 && xx <= n && yy > 0 &&am
| ~ ^
| )
0_0_39078977_15625.cpp:32:52: error: expected statement at end of input
0_0_39078977_15625.cpp:32:52: error: expected '}' at end of input
0_0_39078977_15625.cpp:28:31: note: to match this '{'
28 | for(int i = 0;i<4;i++){
| ^
0_0_39078977_15625.cpp:32:52: error: expected '}' at end of input
32 | if(xx > 0 && xx <= n && yy > 0 &&am
| ^
0_0_39078977_15625.cpp:13:31: note: to match this '{'
13 | void dfs(int x,int y,int time){
| ^
|