Main.cc:1:1: error: 'include' does not name a type
include
^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
cin>>n;
^
Main.cc:7:14: error: 'a' was not declared in this scope
cin>>a[i];
^
Main.cc:11:9: error: 'a' was not declared in this scope
a[i]=a[i+1];
^
Main.cc:14:9: error: 'cout' was not declared in this scope
cout<