molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:18:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 1;i < a.size();i++){
| ~~^~~~~~~~~~
molecules.cpp:24:21: error: 'n' was not declared in this scope
24 | if(sub1 == 1 && n <= 100 && max(l,r) <= 100){
| ^
molecules.cpp: At global scope:
molecules.cpp:38:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
38 | main(){
| ^~~~