#2
wyp3319932722013-04-09 12:45
|
#include<stdio.h>
int main()
{
int m,n,count,a,b,c,i;
scanf("%d %d",&m,&n);
count=1;
i=m;
for(i=m;i<=n;i++)
{
a=i%10;
b=(i/10)%10;
c=i/100;
if(i==a*a*a+b*b*b+c*c*c)
printf("i ");
else
count=0;
}
if(count=0)
printf("No\n");
return 0;
}