Run id: 160780

Main.cc: In function 'int main()':
Main.cc:5:6: error: redeclaration of 'int n'
  int n;
      ^
Main.cc:4:13: note: 'int n' previously declared here
  int a[100],n,x;
             ^