Problem adjlist
User Denzio321
Submission Time 2023-03-14 21:54:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:4:3: error: ‘cin’ was not declared in this scope
4 | cin >> n;
| ^~~
adjlist.cpp:11:5: error: ‘adjlist’ was not declared in this scope
11 | adjlist[numo].push_back(numt);
| ^~~~~~~
adjlist.cpp:15:18: error: ‘adjlist’ was not declared in this scope
15 | for(auto x : adjlist[i]){
| ^~~~~~~
adjlist.cpp:16:7: error: ‘cout’ was not declared in this scope
16 | cout << x << " ";
| ^~~~
adjlist.cpp:18:5: error: ‘cout’ was not declared in this scope
18 | cout << "\n";
| ^~~~