Run id: 104803

Main.cc: In function 'int main()':
Main.cc:10:6: error: conflicting declaration 'int b'
  int b=0;
      ^
Main.cc:6:11: note: previous declaration as 'int b [n]'
  int a[n],b[n];
           ^
Main.cc:12:4: error: incompatible types in assignment of 'int*' to 'int [n]'
   b=b+a[i];
    ^
Main.cc:14:10: error: invalid operands of types 'int [n]' and 'int' to binary 'operator*'
  cout<