Run id: 151405

Main.cc: In function 'int main()':
Main.cc:6:20: error: 'n' was not declared in this scope
     for(int i=0;i<=n;i++){
                    ^
Main.cc:9:20: error: 'n' was not declared in this scope
     for(int i=0;i<=n;i++){
                    ^
Main.cc:12:20: error: 'n' was not declared in this scope
     for(int i=0;i<=n;i++){
                    ^
Main.cc:13:2: error: 'sum' was not declared in this scope
  sum+=a[i]*b[1];
  ^
Main.cc:15:11: error: 'sum' was not declared in this scope
     cout<