molecules.cpp: In function 'std::vector<int> find_subset(int, int, std::vector<int>)':
molecules.cpp:19:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<w.size();i++)
~^~~~~~~~~
molecules.cpp:25:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<w.size();i++)
~^~~~~~~~~
molecules.cpp:30:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<w.size();i++)
~^~~~~~~~~
molecules.cpp:44:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0;i<w.size();i++)
~^~~~~~~~~
molecules.cpp:61:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(sum<=u && index<v.size())
~~~~~^~~~~~~~~
/tmp/cc4fBJwr.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccmbY0Uh.o:molecules.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status