Main.cc:1:1: error: 'include' does not name a type
include
^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
cin>>n;
^
Main.cc:15:15: error: 'endl' was not declared in this scope
cin>>sum>>endl;
^
Main.cc:5:7: warning: unused variable 'b' [-Wunused-variable]
int a,b,n,sum=0,m;
^