#include <iostream.h> void main() {int k,a,b,c; for(k=100;k<=999;k++) { a=k/100; b=k0/10; c=k; if(k==a*a*a+b*b*b+c*c*c) cout<<k<<' '<<endl; } }