0_0_17815113_27171.cpp: In function 'int main()':
0_0_17815113_27171.cpp:4:8: error: 'cin' was not declared in this scope
while(cin>>n>>m>>t)
^
0_0_17815113_27171.cpp:4:13: error: 'n' was not declared in this scope
while(cin>>n>>m>>t)
^
0_0_17815113_27171.cpp:4:16: error: 'm' was not declared in this scope
while(cin>>n>>m>>t)
^
0_0_17815113_27171.cpp:4:19: error: 't' was not declared in this scope
while(cin>>n>>m>>t)
^
0_0_17815113_27171.cpp:11:18: error: 'map' was not declared in this scope
cin>>map[i][j];
^
0_0_17815113_27171.cpp:13:39: error: 'di' was not declared in this scope
else if(map[i][j]=='D') { di=i; dj=j; }
^
0_0_17815113_27171.cpp:13:45: error: 'dj' was not declared in this scope
else if(map[i][j]=='D') { di=i; dj=j; }
^
0_0_17815113_27171.cpp:18:6: error: 'cout' was not declared in this scope
cout<<"NO"<<endl;
^
0_0_17815113_27171.cpp:18:18: error: 'endl' was not declared in this scope
cout<<"NO"<<endl;
^
0_0_17815113_27171.cpp:21:5: error: 'escape' was not declared in this scope
escape=0;
^
0_0_17815113_27171.cpp:22:8: error: 'map' was not declared in this scope
map[si][sj]='X';
^
0_0_17815113_27171.cpp:23:19: error: 'dfs' was not declared in this scope
dfs(si,sj,0);
^
0_0_17815113_27171.cpp:24:19: error: 'cout' was not declared in this scope
if(escape) cout<<"YES"<<endl;
^
0_0_17815113_27171.cpp:24:32: error: 'endl' was not declared in this scope
if(escape) cout<<"YES"<<endl;
^
0_0_17815113_27171.cpp:25:13: error: 'cout' was not declared in this scope
else cout<<"NO"<<endl;
^
0_0_17815113_27171.cpp:25:25: error: 'endl' was not declared in this scope
else cout<<"NO"<<endl;
^
|