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:36: 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/ccqXll4E.o: In function `main':
easy.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccWelbOs.o:grader.cpp:(.text.startup+0x0): first defined here
/tmp/ccWelbOs.o: In function `main':
grader.cpp:(.text.startup+0x97): undefined reference to `CountPair(int, int*)'
collect2: error: ld returned 1 exit status