0_0_36638706_13977.cpp:2:2: error: invalid preprocessing directive #incldue
#incldue <queue>
^
0_0_36638706_13977.cpp:15:1: error: 'queue' does not name a type
queue<T> q[2];
^
0_0_36638706_13977.cpp:20:12: error: variable or field 'clear' declared void
void clear(queue<T>& que) { queue<T> empty; swap(empty, que); }
^
0_0_36638706_13977.cpp:20:12: error: 'queue' was not declared in this scope
0_0_36638706_13977.cpp:20:19: error: expected primary-expression before '>' token
void clear(queue<T>& que) { queue<T> empty; swap(empty, que); }
^
0_0_36638706_13977.cpp:20:22: error: 'que' was not declared in this scope
void clear(queue<T>& que) { queue<T> empty; swap(empty, que); }
^
0_0_36638706_13977.cpp: In function 'bool bfs(int, int, char, char)':
0_0_36638706_13977.cpp:26:18: error: 'q' was not declared in this scope
int sz = q[i].size();
^
0_0_36638706_13977.cpp: In function 'int solve()':
0_0_36638706_13977.cpp:45:11: error: 'q' was not declared in this scope
clear(q[0]); clear(q[1]);
^
0_0_36638706_13977.cpp:45:15: error: 'clear' was not declared in this scope
clear(q[0]); clear(q[1]);
^
|