supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:21:23: error: could not convert '(int (*)[n])(& ans)' from 'int (*)[n]' to 'std::vector<std::vector<int> >'
21 | if(!one&&!two){build(ans);return 1;}
| ^~~
| |
| int (*)[n]
supertrees.cpp:35:9: error: could not convert '(int (*)[n])(& ans)' from 'int (*)[n]' to 'std::vector<std::vector<int> >'
35 | build(ans);
| ^~~
| |
| int (*)[n]
supertrees.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
38 | }
| ^