easy.cpp:2:27: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
int a[100],b,i,j,x=0;main(){scanf("%d",&b);for(i=0;i<b;i++)scanf("%d",&a[i]);
^
easy.cpp: In function ‘int main()’:
easy.cpp:2:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int a[100],b,i,j,x=0;main(){scanf("%d",&b);for(i=0;i<b;i++)scanf("%d",&a[i]);
^
easy.cpp:2:77: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int a[100],b,i,j,x=0;main(){scanf("%d",&b);for(i=0;i<b;i++)scanf("%d",&a[i]);
^
/tmp/ccZ0lDqz.o: In function `main':
easy.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccIAVpTP.o:grader.cpp:(.text.startup+0x0): first defined here
/tmp/ccIAVpTP.o: In function `main':
grader.cpp:(.text.startup+0x97): undefined reference to `CountPair(int, int*)'
collect2: error: ld returned 1 exit status