Main.cc: In function 'int main()':
Main.cc:5:13: error: redeclaration of 'int n'
int n,m,n;
^
Main.cc:5:9: note: 'int n' previously declared here
int n,m,n;
^
Main.cc:7:9: error: 'i' was not declared in this scope
for(i=1;i<=n;i++)
^