Problem | supertrees |
---|---|
User | Potato3218 |
Submission Time | 2023-02-05 18:49:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
supertrees.cpp: In member function ‘void UFDS::init()’:
supertrees.cpp:25:8: error: ‘tail’ was not declared in this scope; did you mean ‘tanl’?
25 | fill(tail, tail + N, 1);
| ^~~~
| tanl
supertrees.cpp: In function ‘int construct(std::vector<std::vector<int> >)’:
supertrees.cpp:46:6: error: redeclaration of ‘int n’
46 | int n = p.size();
| ^
supertrees.cpp:34:9: note: ‘int n’ previously declared here
34 | int n = p.size();
| ^
supertrees.cpp:62:7: error: ‘find_set’ was not declared in this scope; did you mean ‘fd_set’?
62 | um[find_set(i)].push_back(i);
| ^~~~~~~~
| fd_set
supertrees.cpp:68:54: error: no match for ‘operator=’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::vector<int> >, std::vector<int> >::value_type’ {aka ‘std::vector<int>’} and ‘int’)
68 | if(mxno == 2) a