molecules.cpp:15:10: error: 'int ll' redeclared as different kind of symbol
int N,uu,ll;
^~
molecules.cpp:10:19: note: previous declaration 'typedef long long int ll'
typedef long long ll;
^~
molecules.cpp: In function 'bool ric(int, int)':
molecules.cpp:18:21: error: expected primary-expression before ')' token
if(val>=uu&&val<=ll)return 1;
^
molecules.cpp:20:11: error: expected primary-expression before ')' token
if(val>ll)return 0;
^
molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:42:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<w.size();i++)v[i]=w[i];
~^~~~~~~~~