提交时间:2025-11-06 20:02:24
运行 ID: 73139
#include <iostream> using namespace std; int main() { for(int i = 100;i < 1000;i++) { int first = i%10; int second = i/10%10; int third = i / 100; if(first*first*first+second*second*second+third*third*third == i) { cout<<i<<endl; } } }