easy.cpp: In function ‘int main()’:
easy.cpp:5:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
easy.cpp:6:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;++i)scanf("%d",a+i);
^
/tmp/ccDbnvHM.o: In function `main':
easy.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/cc4w8DzD.o:grader.cpp:(.text.startup+0x0): first defined here
/tmp/cc4w8DzD.o: In function `main':
grader.cpp:(.text.startup+0x97): undefined reference to `CountPair(int, int*)'
collect2: error: ld returned 1 exit status