/in/foo.cc:48:2: error: stray '#' in program
}#include <stdio.h>
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:18: warning: unused variable 'j' [-Wunused-variable]
int n, m, i, j;
^
/in/foo.cc: At global scope:
/in/foo.cc:48:3: error: 'include' does not name a type
}#include <stdio.h>
^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:51:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:4:5: note: 'int main()' previously defined here
int main()
^~~~
/in/foo.cc:53:18: warning: unused variable 'j' [-Wunused-variable]
int n, m, i, j;
^
/in/foo.cc: In function 'int CountSearch(int*, int, int)':
/in/foo.cc:77:5: error: redefinition of 'int CountSearch(int*, int, int)'
int CountSearch(int a[], int n, int x)
^~~~~~~~~~~
/in/foo.cc:30:5: note: 'int CountSearch(int*, int, int)' previously defined here
int CountSearch(int a[], int n, int x)
^~~~~~~~~~~