0_0_20068856_25841.cpp:1:30: error: stray '#' in program
<pre name="code" class="cpp">#include<iostream>
^
0_0_20068856_25841.cpp:1:1: error: expected unqualified-id before '<' token
<pre name="code" class="cpp">#include<iostream>
^
0_0_20068856_25841.cpp: In function 'void dfs(int, int, int, int)':
0_0_20068856_25841.cpp:21:3: error: 'cout' was not declared in this scope
cout<<"YES"<<endl;
^
0_0_20068856_25841.cpp:21:16: error: 'endl' was not declared in this scope
cout<<"YES"<<endl;
^
0_0_20068856_25841.cpp: In function 'int main()':
0_0_20068856_25841.cpp:72:8: error: 'cin' was not declared in this scope
while(cin>>m>>n,m+n)
^
0_0_20068856_25841.cpp:78:25: error: 'scanf' was not declared in this scope
scanf("%d",&map[i][j]);
^
0_0_20068856_25841.cpp:93:5: error: 'cout' was not declared in this scope
cout<<"NO"<<endl;
^
0_0_20068856_25841.cpp:93:17: error: 'endl' was not declared in this scope
cout<<"NO"<<endl;
^
0_0_20068856_25841.cpp:114:13: error: 'cout' was not declared in this scope
if(!flag)cout<<"NO"<<endl;
^
0_0_20068856_25841.cpp:114:25: error: 'endl' was not declared in this scope
if(!flag)cout<<"NO"<<endl;
^
|