#include<stdio.h>
int main()
{ int n,a,b,c;
for(n=100;n<=1000;n++){
a=n/100;
b=n%100/10;
c=n%10;
if(a*a*a+b*b*b+c*c*c==n)
printf("%d",n);
}
return 0;
}
10-29
8151
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-12
4861
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-12
1448
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)