0_0_39757596_22661.cpp: In function 'int main()':
0_0_39757596_22661.cpp:20:32: error: request for member 'to' in 'man.std::vector<int>::operator[](((std::vector<int>::size_type)a))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
20 | man[a].to.push_back(b);
| ^~
0_0_39757596_22661.cpp:21:32: error: request for member 'to' in 'man.std::vector<int>::operator[](((std::vector<int>::size_type)b))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
21 | man[b].to.push_back(a);
| ^~
0_0_39757596_22661.cpp:31:59: error: request for member 'to' in 'man.std::vector<int>::operator[](((std::vector<int>::size_type)p))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
31 | for(int i = 0; i < man[p].to.size(); i++)
| ^~
0_0_39757596_22661.cpp:32:59: error: request for member 'to' in 'man.std::vector<int>::operator[](((std::vector<int>::size_type)p))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
32 | sum += man[man[p].to[i]].E;
| ^~
0_0_39757596_22661.cpp:37:40: error: request for member 'E' in 'man.std::vector<int>::operator[](((std::vector<int>::size_type)p))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
37 | man[p].E += e;
| ^
|