Problem adjlist
User eliasxyz
Submission Time 2025-06-15 17:04:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

adjlist.cpp: In function ‘int main()’:
adjlist.cpp:15:25: error: invalid use of member function ‘std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::size() const [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
15 | for(int j=0;j<list[i].size;j++){
| ~~~~~~~~^~~~
| ()