Problem adjlist
User ultbiaslia
Submission Time 2023-11-10 13:27:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:4:1: error: ‘vector’ was not declared in this scope
4 | vector<int> g[10000];
| ^~~~~~
adjlist.cpp:4:8: error: expected primary-expression before ‘int’
4 | vector<int> g[10000];
| ^~~
adjlist.cpp:6:1: error: ‘cin’ was not declared in this scope
6 | cin >> V >> E;
| ^~~
adjlist.cpp:9:5: error: ‘g’ was not declared in this scope
9 | g[a].push_back(b);
| ^
adjlist.cpp:14:2: error: ‘cout’ was not declared in this scope
14 | cout << j;
| ^~~~
adjlist.cpp:16:8: error: expected primary-expression before ‘=’ token
16 | return= 0;
| ^