mushrooms.cpp: In function 'int main()':
mushrooms.cpp:31:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for( int i = 0; i < msh.size(); i++ ) {
| ~~^~~~~~~~~~~~
mushrooms.cpp:35:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if( pos >= 0 && pos < spr.size() ) {
| ~~~~^~~~~~~~~~~~
mushrooms.cpp:37:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for( int j = pos; j < spr.size(); j++ ) {
| ~~^~~~~~~~~~~~