for (int n = 100; n < 1000; n++) {
int bai,shi,ge;
bai = n/100;
shi = n%100/10;
ge = n%100%10;
if (bai*bai*bai+shi*shi*shi+ge*ge*ge == n) {
printf("%d\t",n);
}else{
continue;
}
}
int getShuiXianHua_for()
{
int ge = 0;
int shi = 0;
int bai = 0;
int i = 100;
int cnt = 0;
for (i = 100; i <= 999; i++)
{
int num = i;
ge = num % 10;
num = num / 10;
shi = num % 10;
num = num/ 10;
bai = num % 10;
num = num / 10;