#include<stdio.h>
int main(){
int m,n,a,b,c,x,count;
while(scanf("%d %d",&m,&n)!=EOF)
{
for(x=m;x<=n;x++){
a=x%10;
b=(x/10)%10;
c=(x/100)%10;
if(x==aaa+bbb+ccc){
count=1;
printf("%d ",x);
continue;}
else{
continue;
}
}
if(count==0)
printf("no\n");
}
return 0;
}
count在每次循环开始前要置为0,不然如果第一个实例水仙花数不为0,第二个实例为0,第二个实例运行时count=1就出错了