Main.cc:3:7: warning: integer constant is too large for its type
int a[100000000000000000000000000000000000];
^
Main.cc:3:43: error: size of array 'a' is too large
int a[100000000000000000000000000000000000];
^
Main.cc: In function 'int main()':
Main.cc:7:29: error: 'a' was not declared in this scope
for(int i=1;i<=n;i++) cin>>a[i];
^
Main.cc:10:6: error: 'a' was not declared in this scope
if(a[i]==m) sum+=1;
^