Problem foreveralone
User blob
Submission Time 2023-11-20 09:48:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:6:20: error: ‘n’ was not declared in this scope
6 | vector <int> adj[n+1];
| ^
foreveralone.cpp:9:12: error: ‘a’ was not declared in this scope
9 | cin >> a >> b;
| ^
foreveralone.cpp:9:17: error: ‘b’ was not declared in this scope
9 | cin >> a >> b;
| ^
foreveralone.cpp:10:5: error: ‘adj’ was not declared in this scope
10 | adj[a].push_back(b);
| ^~~
foreveralone.cpp:15:14: error: ‘adj’ was not declared in this scope
15 | for(auto z:adj[i]){
| ^~~