#include "shuixianhua.h"
void printfShuixianhua(int beginNumber,int endNumber){
int i=0;
for(i=beginNumber;i<endNumber;i++){
int k,l,m;
k=i/100;
l=(i-k*100)/10;
//l=i/10%10;
m=i-k*100-l*10;
//m=i%10;
int number=k*100+l*10+m;
if(number==(k*k*k+l*l*l+m*m*m)){
printf("shuixianhua is %d \n",number);
}
}
}
void printfShuixianhua(int beginNumber,int endNumber){
int i=0;
for(i=beginNumber;i<endNumber;i++){
int k,l,m;
k=i/100;
l=(i-k*100)/10;
//l=i/10%10;
m=i-k*100-l*10;
//m=i%10;
int number=k*100+l*10+m;
if(number==(k*k*k+l*l*l+m*m*m)){
printf("shuixianhua is %d \n",number);
}
}
}