Problem adjlist
User boaznumberd5555
Submission Time 2024-11-28 19:57:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:9:11: error: ‘class std::vector<int>’ has no member named ‘push’
9 | arr[n1].push(n2);
| ^~~~
adjlist.cpp:10:11: error: ‘class std::vector<int>’ has no member named ‘push’
10 | arr[n2].push(n1);
| ^~~~