0_0_16210245_9281.cpp:1:30: error: stray '#' in program
<span style="color:#333333;">#include <iostream>
^
0_0_16210245_9281.cpp:1:1: error: expected unqualified-id before '<' token
<span style="color:#333333;">#include <iostream>
^
0_0_16210245_9281.cpp:7:1: error: 'vector' does not name a type
vector<int>mat[30];
^
0_0_16210245_9281.cpp: In function 'void dfs(int)':
0_0_16210245_9281.cpp:13:15: error: 'mat' was not declared in this scope
for(i=0;i<mat[s].size();i++)
^
0_0_16210245_9281.cpp: In function 'int main()':
0_0_16210245_9281.cpp:28:5: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_16210245_9281.cpp:33:9: error: 'mat' was not declared in this scope
mat[i].clear();
^
0_0_16210245_9281.cpp:42:10: error: 'mat' was not declared in this scope
mat[a].push_back(b);
^
0_0_16210245_9281.cpp:61:11: error: 'cout' was not declared in this scope
cout<<"The door cannot be opened.\n";
^
0_0_16210245_9281.cpp:74:15: error: 'cout' was not declared in this scope
if(sign)cout<<"Ordering is possible.\n";
^
0_0_16210245_9281.cpp:75:12: error: 'cout' was not declared in this scope
else cout<<"The door cannot be opened.\n";
^
0_0_16210245_9281.cpp: At global scope:
0_0_16210245_9281.cpp:79:2: error: expected unqualified-id before '<' token
}</span>
^
|