supertrees.cpp: In constructor 'Solver::Solver(std::vector<std::vector<int> >)':
supertrees.cpp:9:25: warning: 'Solver::p' will be initialized after [-Wreorder]
9 | vector<vector<int>> p, line, cycle;
| ^
supertrees.cpp:6:9: warning: 'int Solver::n' [-Wreorder]
6 | int n;
| ^
supertrees.cpp:11:5: warning: when initialized here [-Wreorder]
11 | Solver(vector<vector<int>> p): p(p), n(p.size()) {
| ^~~~~~
supertrees.cpp: In member function 'int Solver::solve()':
supertrees.cpp:62:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (int j = 0; j + 1 < line[i].size(); j++) {
| ~~~~~~^~~~~~~~~~~~~~~~
supertrees.cpp:68:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | for (int j = 0; j + 1 < cycle[i].size(); j++) {
| ~~~~~~^~~~~~~~~~~~~~~~~
/tmp/ccBtRsGT.o: In function `main':
grader.cpp:(.text.startup+0x3a2): undefined reference to `construct(std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)'
collect2: error: ld returned 1 exit status