shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:9:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
9 | if(n == 1)
| ^
shoes.cpp:16:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i = 1; i < s.size() && !ok; i ++)
| ~~^~~~~~~~~~
shoes.cpp:24:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i = 0; i < s.size(); i ++)
| ~~^~~~~~~~~~