Problem | adjlist |
---|---|
User | mathemactics |
Submission Time | 2023-11-10 13:40:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp: In function ‘int main()’:
adjlist.cpp:11:17: error: request for member ‘push_back’ in ‘adjlist’, which is of non-class type ‘std::vector<int> [1005]’
11 | adjlist.push_back(A);
| ^~~~~~~~~
adjlist.cpp:13:25: error: ‘V’ was not declared in this scope
13 | for (int i = 0; i < V; i++) {
| ^
adjlist.cpp:14:19: error: ‘g’ was not declared in this scope
14 | for (auto j: g[i]) {
| ^