运行 ID: 49303

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: control reaches end of non-void function [-Wreturn-type]
 }
 ^