求1000以内的这种数。
#include<stdio.h>
#include<math.h>
int main(){
int i,a,b,c;
for(i=10;i<1000;i++){
if(i>=10&&i<100){
a=i/10;
b=i%10;
if(i==pow(a,3)+pow(b,3)){
printf("%d\t",i);
}
}else if(i>=100&&i<1000){
a=i/100;
b=(i%100)/10;
c=i%10;
if(i==pow(a,3)+pow(b,3)+pow(c,3)){
printf("%d\t",i);
}
}
}
return 0;
}