/in/foo.cc: In function 'void print(std::bitset<5ul>&)':
/in/foo.cc:9:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < X.size(); ++i) {
~~^~~~~~~~~~
/in/foo.cc: In function 'void subsetSum(std::vector<int>&, std::bitset<5ul>&, int, int, int)':
/in/foo.cc:18:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(k + 1 <= W.size() && sum + W[k] <= targetSum)
~~~~~~^~~~~~~~~~~
/in/foo.cc:20:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k + 1 <= W.size() && sum + W[k + 1] <= targetSum) {
~~~~~~^~~~~~~~~~~