Problem | supertrees |
---|---|
User | PlayVoltz |
Submission Time | 2024-07-25 12:56:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
supertrees.cpp: In function ‘int construct(std::vector<std::vector<int> >)’:
supertrees.cpp:27:44: error: ‘class std::vector<int>’ has no member named ‘pb’
27 | for (int i=0; i<n; ++i)if (dsu[i]==-1)par.pb(i);
| ^~
supertrees.cpp:30:37: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘class std::vector<int>’} has no member named ‘pb’
30 | for (int i=0; i<n; ++i)temp[fp(i)].pb(i);
| ^~