Problem adjlist
User Yannwen09
Submission Time 2023-11-10 10:25:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:6:33: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | vector<vector<int>> adjList(n + 1);
| ^
| yn
adjlist.cpp:8:25: error: ‘e’ was not declared in this scope
8 | for (int i = 0; i < e; ++i) {
| ^