Main.cc: In function 'int main()':
Main.cc:8:14: error: expected initializer before 'n'
int a[11]n;
^
Main.cc:10:10: error: 'n' was not declared in this scope
cin>>n;
^
Main.cc:13:9: error: 'a' was not declared in this scope
a[m]++;
^
Main.cc:17:20: error: expected ';' before ')' token
for(int i=1;i++){
^
Main.cc:18:17: error: 'a' was not declared in this scope
if(maxn<a[i])maxn=a[i],no=i;
^