mushrooms.cpp: In function 'll S(std::vector<int>, ll, ll)':
mushrooms.cpp:11:30: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
11 | if(v.size()==2)return x^1+y^1;
| ~^~
mushrooms.cpp:13:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i=0;i<v.size();i++){
| ~^~~~~~~~~
mushrooms.cpp:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | if(i%2==0 && i!=v.size()-1){
| ~^~~~~~~~~~~~
mushrooms.cpp:27:16: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(res1==a.size()){
| ~~~~^~~~~~~~~~
mushrooms.cpp:44:16: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if(res2==b.size()){
| ~~~~^~~~~~~~~~