#include<stdio.h>标签:10,return,int,printf,100,水仙花 From: https://blog.51cto.com/u_15841203/5960049
int main()
{
int a,b,c,n;
printf("水仙花数为:");
for(n=100;n<1000;n++)
{
a = n/100;
b = n/10%10;
c = n%10;
if(n==a*a*a+b*b*b+c*c*c)
printf("%d",n);
}
printf("\n");
return 0;
}