Main.cc:1:3: error: 'cin' does not name a type
cin>>n>>m;
^
Main.cc:2:9: error: 'n' was not declared in this scope
int a[n][n];
^
Main.cc:2:12: error: 'n' was not declared in this scope
int a[n][n];
^
Main.cc:3:3: error: expected unqualified-id before 'for'
for(int i=0;i