shoes.cpp: In function 'bool check(std::vector<int>&)':
shoes.cpp:8:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | for(int i = 1; i < x.size(); i += 2){
| ~~^~~~~~~~~~
shoes.cpp: In function 'std::vector<std::vector<int> > moves(std::vector<int>&)':
shoes.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 1; i < a.size(); ++i){
| ~~^~~~~~~~~~
shoes.cpp: In function 'std::vector<std::vector<int> > allperm(int)':
shoes.cpp:82:1: warning: no return statement in function returning non-void [-Wreturn-type]
82 | }
| ^
shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:92:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
92 | for(int i = 1; i < s.size()/2; ++i) ans += i;
| ~~^~~~~~~~~~~~
shoes.cpp: In function 'long long int bfs(std::vector<int>&)':
shoes.cpp:38:25: warning: control reaches end of non-void function [-Wreturn-type]
38 | map<vector<int>, bool> visited;
| ^~~~~~~