Run id: 112716

Main.cc: In function 'int main()':
Main.cc:5:5: error: expected initializer before 'int'
     int n,c,ch;
     ^
Main.cc:6:10: error: 'n' was not declared in this scope
     cin>>n;
          ^
Main.cc:8:14: error: 'a' was not declared in this scope
         cin>>a[i];
              ^
Main.cc:10:10: error: 'c' was not declared in this scope
     cin>>c>>ch;
          ^
Main.cc:10:13: error: 'ch' was not declared in this scope
     cin>>c>>ch;
             ^
Main.cc:11:8: error: 'a' was not declared in this scope
     if(a[i]==c){
        ^
Main.cc:11:10: error: 'i' was not declared in this scope
     if(a[i]==c){
          ^
Main.cc:16:11: error: 'a' was not declared in this scope
     cout<