Run id: 5110
Main.cc: In function 'int main()':
Main.cc:4:5: error: expected initializer before 'cin'
cin>>n;
^
Main.cc:5:19: error: 'n' was not declared in this scope
for(int i=0;i>a[i];
^
Main.cc:8:19: error: 'n' was not declared in this scope
for(int i=0;i>b[i];
^
Main.cc:9:14: error: 'b' was not declared in this scope
cin>>b[i];
^
Main.cc:11:19: error: 'n' was not declared in this scope
for(int i=0;i<n;i++){
^
Main.cc:12:9: error: 's' was not declared in this scope
s+=a[i]*b[i];
^
Main.cc:12:17: error: 'b' was not declared in this scope
s+=a[i]*b[i];
^
Main.cc:14:5: error: 'cout' was not declared in this scope
cout<<s<<endl;
^
Main.cc:14:11: error: 's' was not declared in this scope
cout<<s<<endl;
^
Main.cc:14:14: error: 'endl' was not declared in this scope
cout<<s<<endl;
^