0_0_17203042_7815.cpp:6:1: error: 'vector' does not name a type
vector<int> p[N];
^
0_0_17203042_7815.cpp:7:1: error: 'queue' does not name a type
queue<int> q;
^
0_0_17203042_7815.cpp: In function 'void DFS(int, int)':
0_0_17203042_7815.cpp:12:27: error: 'max' was not declared in this scope
depth = max(depth,step);
^
0_0_17203042_7815.cpp:13:8: error: 'p' was not declared in this scope
FI(p[top].size()){
^
0_0_17203042_7815.cpp:13:21: error: 'FI' was not declared in this scope
FI(p[top].size()){
^
0_0_17203042_7815.cpp: In function 'bool BFS()':
0_0_17203042_7815.cpp:21:19: error: 'fill' was not declared in this scope
fill(vis,false);
^
0_0_17203042_7815.cpp:25:15: error: 'FI' was not declared in this scope
FI(depth+1){
^
0_0_17203042_7815.cpp: In function 'int main()':
0_0_17203042_7815.cpp:34:15: error: 'S' was not declared in this scope
while(S(n)!=EOF)
^
0_0_17203042_7815.cpp:34:18: error: 'EOF' was not declared in this scope
while(S(n)!=EOF)
^
0_0_17203042_7815.cpp:36:15: error: 'FI' was not declared in this scope
FI(n+1) p[i].clear();
^
0_0_17203042_7815.cpp:43:27: error: 'printf' was not declared in this scope
printf("YES\n");
^
0_0_17203042_7815.cpp:45:26: error: 'printf' was not declared in this scope
printf("NO\n");
^
|