mushrooms.cpp: In function 'int count_mushrooms(int)':
mushrooms.cpp:24:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | while (pos < v.size()/*a.size() < VAL || b.size() < VAL*/) {
| ~~~~^~~~~~~~~~
mushrooms.cpp:27:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (pos < v.size()) arr.push_back(v[pos]), ++pos;
| ~~~~^~~~~~~~~~
mushrooms.cpp:29:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if (pos < v.size()) arr.push_back(v[pos]), ++pos;
| ~~~~^~~~~~~~~~
mushrooms.cpp:44:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if (pos < v.size()) arr.push_back(v[pos]), ++pos;
| ~~~~^~~~~~~~~~
mushrooms.cpp:46:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if (pos < v.size()) arr.push_back(v[pos]), ++pos;
| ~~~~^~~~~~~~~~
mushrooms.cpp:61:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if (pos < v.size()) arr.push_back(v[pos]), ++pos;
| ~~~~^~~~~~~~~~