shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int j = l+1 ; j < s.size();j++){
| ~~^~~~~~~~~~
shoes.cpp:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int j = r+1 ; j < s.size();j++){
| ~~^~~~~~~~~~
shoes.cpp:30:12: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
30 | ans += l-r;
| ~^~
shoes.cpp:30:12: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]