Problem | adjlist |
---|---|
User | tomatofrog0w0 |
Submission Time | 2023-11-10 15:15:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjlist.cpp: In function ‘int32_t main()’:
adjlist.cpp:7:3: error: expected initializer before ‘int’
7 | int n, e, a, b;
| ^~~
adjlist.cpp:8:13: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | cin >> n >> e;
| ^
| yn
adjlist.cpp:8:18: error: ‘e’ was not declared in this scope
8 | cin >> n >> e;
| ^
adjlist.cpp:11:10: error: ‘a’ was not declared in this scope
11 | cin >> a >> b;
| ^
adjlist.cpp:11:15: error: ‘b’ was not declared in this scope
11 | cin >> a >> b;
| ^
adjlist.cpp:13:2: error: ‘g’ was not declared in this scope
13 | g[a].push_back (b);
| ^
adjlist.cpp:18:17: error: ‘g’ was not declared in this scope
18 | for (auto j: g[i]){
| ^