Run id: 70150

Main.cc:4:7: error: 'maxn' was not declared in this scope
 int a[maxn];
       ^
Main.cc: In function 'int main()':
Main.cc:8:32: error: 'a' was not declared in this scope
     for(int i=1;i<=n;i++) cin>>a[i]; 
                                ^
Main.cc:10:32: error: 'a' was not declared in this scope
     for(int i=1;i<=n;i++) { if(a[i]==k) s++; } 
                                ^