0_0_23218844_11191.cpp:19:1: error: invalid use of template-name 'std::vector' without an argument list
vector
^
0_0_23218844_11191.cpp:23:1: error: invalid use of template-name 'std::queue' without an argument list
queue
^
0_0_23218844_11191.cpp: In function 'int bfs(int, int)':
0_0_23218844_11191.cpp:28:12: error: 'q' was not declared in this scope
while(!q.empty())
^
0_0_23218844_11191.cpp:30:5: error: 'q' was not declared in this scope
q.push(P(s, 0));
^
0_0_23218844_11191.cpp:40:20: error: 'G' was not declared in this scope
int Size = G[pos].size();
^
0_0_23218844_11191.cpp: In function 'int main()':
0_0_23218844_11191.cpp:75:13: error: 'G' was not declared in this scope
G[i].clear();
^
0_0_23218844_11191.cpp:79:13: error: 'G' was not declared in this scope
G[x].push_back(P(from, to));
^
0_0_23218844_11191.cpp:84:18: error: 'G' was not declared in this scope
sort(G[i].begin(), G[i].end());
^
|