运行 ID: 49300

Main.cc: In function ‘int f(int)’:
Main.cc:8:13: error: ‘n’ was not declared in this scope
   if(i*i*i==n){
             ^
Main.cc:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^