Problem | adjlist |
---|---|
User | lulu1008 |
Submission Time | 2024-06-21 10:02:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:10:13: error: ‘o’ was not declared in this scope
10 | for (int i=o; i<e; ++i){
| ^
adjlist.cpp:13:10: error: ‘class std::vector<int>’ has no member named ‘pushback’; did you mean ‘push_back’?
13 | adj[a].pushback(b);
| ^~~~~~~~
| push_back
adjlist.cpp:14:10: error: ‘class std::vector<int>’ has no member named ‘pushback’; did you mean ‘push_back’?
14 | adj[b].pushback(a);
| ^~~~~~~~
| push_back
adjlist.cpp:21:14: error: expected ‘;’ before ‘}’ token
21 | cout<< "\n"
| ^
| ;
22 | }
| ~