xorsum.cpp: In function 'void Sort()':
xorsum.cpp:13:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i=0;i<v.size();i++){
| ~^~~~~~~~~
xorsum.cpp:20:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=0;i<C[k].size();i++)
| ~^~~~~~~~~~~~
xorsum.cpp:26:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(int i=0;i<v.size();i++){
| ~^~~~~~~~~
xorsum.cpp:33:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int i=0;i<C[k].size();i++)
| ~^~~~~~~~~~~~
xorsum.cpp: At global scope:
xorsum.cpp:38:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
38 | main(){
| ^
xorsum.cpp: In function 'int main()':
xorsum.cpp:60:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<std::pair<int, int>, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int k=0;k<v.size();k++){
| ~^~~~~~~~~
xorsum.cpp:72:20: warning: unused variable 'r1' [-Wunused-variable]
72 | int l=n,r=n,l1=n,r1=n;
| ^~