Run id: 151909
Main.cc: In function 'int main()':
Main.cc:4:13: error: expected initializer before 'x'
int n[11]x,s=0;
^
Main.cc:6:19: error: 'n' was not declared in this scope
for(int i=1;i<=n;i++){
^
Main.cc:7:10: error: 'a' was not declared in this scope
cin>>a[i];
^
Main.cc:9:9: error: 'x' was not declared in this scope
cin>>x;
^
Main.cc:11:8: error: 'm' was not declared in this scope
if(m+30>=a[i])s++;
^
Main.cc:11:14: error: 'a' was not declared in this scope
if(m+30>=a[i])s++;
^
Main.cc:11:19: error: 's' was not declared in this scope
if(m+30>=a[i])s++;
^
Main.cc:13:10: error: 's' was not declared in this scope
cout<