shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:42:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(i=0;i<s.size();++i)
| ~^~~~~~~~~
shoes.cpp:49:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(i=0;i<s.size();++i)
| ~^~~~~~~~~
shoes.cpp:63:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | for(i=0;i<s.size();++i)
| ~^~~~~~~~~
shoes.cpp:64:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | if(s[i]<0 && fv[-s[i]]<v[-s[i]].size())
| ~~~~~~~~~^~~~~~~~~~~~~~~~
shoes.cpp:72:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for(i=0;i<s.size();++i)
| ~^~~~~~~~~
shoes.cpp:85:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | for(i=0;i<s.size();++i)
| ~^~~~~~~~~
shoes.cpp:41:10: warning: unused variable 'mx' [-Wunused-variable]
41 | int i,j,mx=0;
| ^~