shoes.cpp: In function 'int main()':
shoes.cpp:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < ord[i].size()/2; j++) {
~~^~~~~~~~~~~~~~~~~
shoes.cpp:51:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); i++) {
~~^~~~~~~~~~
shoes.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
~~~~~^~~~~~~~~~
shoes.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &s);
~~~~~^~~~~~~~~~
/tmp/ccErhJxF.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccBZecmv.o:shoes.cpp:(.text.startup+0x0): first defined here
/tmp/ccErhJxF.o: In function `main':
grader.cpp:(.text.startup+0x282): undefined reference to `count_swaps(std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status