mushrooms.cpp: In function 'int calc(std::vector<int>, int, int)':
mushrooms.cpp:20:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if(x > y + v.size() / 2){
| ~~^~~~~~~~~~~~~~~~~~
mushrooms.cpp:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int j = 1 ; j < v.size() ; j += 2){
| ~~^~~~~~~~~~
mushrooms.cpp: In function 'int count_mushrooms(int)':
mushrooms.cpp:49:14: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
49 | if(A.size() == SQ){
| ~~~~~~~~~^~~~~
mushrooms.cpp:52:14: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
52 | if(B.size() == SQ){
| ~~~~~~~~~^~~~~