Run id: 79159

Main.cc: In function 'int main()':
Main.cc:7:10: error: 'i' was not declared in this scope
   int g= i%10;
          ^
Main.cc:9:7: error: redeclaration of 'int s'
   int s=i/100%10;
       ^
Main.cc:8:7: note: 'int s' previously declared here
   int s=i/10%10;
       ^
Main.cc:10:18: error: 'b' was not declared in this scope
   if(g*g*g+s*s*s+b*b*b==i){
                  ^