shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:29:12: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | while(N<s.size())
| ~^~~~~~~~~
shoes.cpp:33:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
33 | for(int i=N;i<N+s.size();i++)
| ~^~~~~~~~~~~
shoes.cpp:38:18: 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++)
| ~^~~~~~~~~
shoes.cpp:46:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int i=0;i<s.size();i++)
| ~^~~~~~~~~
shoes.cpp:28:15: warning: unused variable 'n' [-Wunused-variable]
28 | long long n=s.size()/2;
| ^
shoes.cpp: In function 'void usaco()':
shoes.cpp:9:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | void usaco(){freopen("cruise.out","w",stdout);freopen("cruise.in","r",stdin);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
shoes.cpp:9:54: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | void usaco(){freopen("cruise.out","w",stdout);freopen("cruise.in","r",stdin);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~