#includevoid main(){int x,y,z,num;printf("水仙花数有:\n");for(num=100;num<=1000;num++){x=num/100;y=(num-x*100)/10;z=num-x*100-y*10;if(num==(x*x*x+y*y*y+z*z*z))printf("%d\t",num);}}