Main.cc:1:1: error: 'include' does not name a type include ^ Main.cc: In function 'int main()': Main.cc:6:1: error: 'cin' was not declared in this scope cin>>n; ^ Main.cc:17:43: error: 'printf' was not declared in this scope for(int j=0;j