Main.cc:1:1: error: 'include' does not name a type
include
^
Main.cc: In function 'int main()':
Main.cc:6:18: error: 'scanf' was not declared in this scope
scanf("%d",&n);
^
Main.cc:20:5: error: 'cout' was not declared in this scope
cout<