这个是死循环??????咋回事呢
#include <stdio.h>int main(void)
{
int i, digit, m, n, number, sum;
int repeat, ri;
scanf("%d",&repeat);
for(ri = 1; ri <= repeat; ri++){
scanf("%d%d", &m, &n);
printf("result:\n");
for(i=m;i<=n;i++){
digit=0;
do{
number=i;
digit=digit+(number%10)*(number%10)*(number%10);
number=number/10;}
while(number!=0);
if(digit==i)
printf("%d\n", i);
}
}
}