运行 ID: 361649

Main.cc: In function ‘int main()’:
Main.cc:6:6: error: redeclaration of ‘int i’
  int i=1;
      ^
Main.cc:4:8: note: ‘int i’ previously declared here
  int n,i=1;
        ^
Main.cc:7:2: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
  while(n>=7&&n<=7)
  ^~~~~
Main.cc:9:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
   cout<