#include <stdio.h>
int main(){
int i;
int a,b,c;
int sum;
for(i=100;i<1000;i++){
a = i/100;
b = (i-a*100)/10;
c = i-a*100-b*10;
if(sum = a*a*a+b*b*b+c*c*c){
printf("水仙花数字:%d\n",i);
}
return 0;
已经知道了