0_0_38820090_26020.cpp:5:1: error: 'string' does not name a type; did you mean 'stdin'?
5 | string arr[10];
| ^~~~~~
| stdin
0_0_38820090_26020.cpp: In function 'int dfs(int, int, int)':
0_0_38820090_26020.cpp:26:5: error: return-statement with no value, in function returning 'int' [-fpermissive]
26 | return;
| ^~~~~~
0_0_38820090_26020.cpp:27:15: error: 'arr' was not declared in this scope
27 | if(bs==t&&arr[x][y]=='D')
| ^~~
0_0_38820090_26020.cpp:30:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
30 | return;
| ^~~~~~
0_0_38820090_26020.cpp:36:26: error: 'arr' was not declared in this scope
36 | if(check(nx,ny)&&arr[nx][ny]!='X')
| ^~~
0_0_38820090_26020.cpp:45:1: error: a function-definition is not allowed here before '{' token
45 | {
| ^
0_0_38820090_26020.cpp:110:2: error: expected '}' at end of input
110 | }
| ^
0_0_38820090_26020.cpp:24:1: note: to match this '{'
24 | {
| ^
|