beechtree.cpp: In function 'std::vector<int> beechtree(int, int, std::vector<int>, std::vector<int>)':
beechtree.cpp:33:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i=1;i<sub.size();i++){
| ~^~~~~~~~~~~
beechtree.cpp:34:27: error: 'c' was not declared in this scope
34 | if(repeticiones.find(c[sub[j]])==repeticiones.end()){
| ^
beechtree.cpp:34:33: error: 'j' was not declared in this scope
34 | if(repeticiones.find(c[sub[j]])==repeticiones.end()){
| ^