int a = 0,b = 0,c = 0;
int count = 0;
for (int i = 0; i < 1001; i++) {
a = i /100;
b = i % 100 / 10;
c = i % 100 % 10;
if (i == pow(a, 3) + pow(b, 3) + pow(c, 3)){
printf("%d\n",i);
count++;
}
}
printf("水仙花数个数为%d个",count);