0_0_39757577_6285.cpp: In function 'int main()':
0_0_39757577_6285.cpp:19: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'}
19 | man[a].to.push_back(b);
| ^~
0_0_39757577_6285.cpp:20: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'}
20 | man[b].to.push_back(a);
| ^~
0_0_39757577_6285.cpp:30: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'}
30 | for(int i = 0; i < man[p].to.size(); i++)
| ^~
0_0_39757577_6285.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 | sum += man[man[p].to[i]].E;
| ^~
0_0_39757577_6285.cpp:36: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'}
36 | man[p].E += e;
| ^
|