molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:5:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define loop(i, a, b) for(int i=a;i<b;i++)
molecules.cpp:12:10:
loop(i, 1, w.size()+1){
~~~~~~~~~~~~~~~~
molecules.cpp:12:5: note: in expansion of macro 'loop'
loop(i, 1, w.size()+1){
^~~~
molecules.cpp:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(dp2[w[i-1]]==0)dp2[w[i-1]]=i;dp=dp2;
^~
molecules.cpp:15:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if(dp2[w[i-1]]==0)dp2[w[i-1]]=i;dp=dp2;
^~