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