运行 ID: 3167

Main.cc: In function ‘int main()’:
Main.cc:6:19: error: ‘i’ was not declared in this scope
  for(int j=1;j<=n;i++){
                   ^