mushrooms.cpp: In function 'int count_mushrooms(int)':
mushrooms.cpp:46:46: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
46 | while(left.size() && cur.size()+2<=n && j<o.size()){
| ~~~~~~~~~~~~^~~
mushrooms.cpp:46:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | while(left.size() && cur.size()+2<=n && j<o.size()){
| ~^~~~~~~~~
mushrooms.cpp:61:46: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
61 | while(left.size() && cur.size()+2<=n && j<z.size()){
| ~~~~~~~~~~~~^~~
mushrooms.cpp:61:54: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | while(left.size() && cur.size()+2<=n && j<z.size()){
| ~^~~~~~~~~