#include <iostream> using namespace std; int main() { int i,j,k; for(i=1;i<10;i++){ for(j=0;j<10;j++){ for(k=0;k<10;k++){ if(i*i*i+j*j*j+k*k*k==i*100+j*10+k){ cout<<i*100+j*10+k<<endl; } } } } // write your code here...... return 0; }