supertrees.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
supertrees.cpp:11:16: error: expected ';' before 'vector'
11 | sort(a,a+n)
| ^
| ;
12 | vector<int> ans;
| ~~~~~~
supertrees.cpp:25:37: error: 'ans' was not declared in this scope; did you mean 'abs'?
25 | for (int i=lf;i<=r;i++) ans.push_back(a[i][1]);
| ^~~
| abs
supertrees.cpp:26:20: error: 'ans' was not declared in this scope; did you mean 'abs'?
26 | return ans;
| ^~~
| abs
supertrees.cpp:29:12: error: 'ans' was not declared in this scope; did you mean 'abs'?
29 | return ans;
| ^~~
| abs