153,370,371,407共4个数.C++代码:
x05for (int i = 100; i < 1000; i++)
x05{
x05x05int h,j,k;
x05x05h = i/100;
x05x05j = i/10 - h*10;
x05x05k = i%10;
x05x05if (i == (h*h*h + j*j*j + k*k*k))
x05x05{
x05x05x05std::cout
153,370,371,407共4个数.C++代码:
x05for (int i = 100; i < 1000; i++)
x05{
x05x05int h,j,k;
x05x05h = i/100;
x05x05j = i/10 - h*10;
x05x05k = i%10;
x05x05if (i == (h*h*h + j*j*j + k*k*k))
x05x05{
x05x05x05std::cout