shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int i = 0; i < s.size(); i++){
| ~~^~~~~~~~~~
shoes.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int i = 1; i <= s.size(); i++){
| ~~^~~~~~~~~~~
shoes.cpp:33:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
33 | if(x < y) ans++; if(x > y) swap(x, y);
| ^~
shoes.cpp:33:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
33 | if(x < y) ans++; if(x > y) swap(x, y);
| ^~
shoes.cpp:38:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i = 0; i < s.size(); i++) bit.add(i, 1);
| ~~^~~~~~~~~~