运行 ID: 40102

Main.cc: In function ‘int main()’:
Main.cc:12:9: error: ‘i’ was not declared in this scope
   while(i <= n) {
         ^
Main.cc:17:3: error: ‘i’ was not declared in this scope
   i++;
   ^