shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:6:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for(int i=1;i<ara.size();i++) if(abs(ara[i])!=abs(ara[i-1])) flag=1;
| ~^~~~~~~~~~~
shoes.cpp:11:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | for(int i=0;i<ara.size();i++){
| ~^~~~~~~~~~~
shoes.cpp:9:19: warning: variable 'm' set but not used [-Wunused-but-set-variable]
9 | long long m,x=0;
| ^
shoes.cpp:9:21: warning: unused variable 'x' [-Wunused-variable]
9 | long long m,x=0;
| ^