#include<iostream>usingnamespace std;intmain(){int i,b,s,g;for( i =100;i <=999;i++){
b = i /100;
s =( i %100)/10;
g = i %10;if( b*b*b + s*s*s + g*g*g == i){
cout << i << endl;}}return0;}
特殊的数字#include<iostream>using namespace std;int main(){ int i,b,s,g; for( i = 100;i <= 999;i++) { b = i / 100; s = ( i % 100) / 10; g = i % 10; if( b*b*b + s*s*s + g*g*g == i)...