提交时间:2024-10-11 23:07:28

运行 ID: 52683

#include<bits/stdc++.h> using namespace std; int main() { for(int x;x<=999;x++) int a=x%10,b=x/10%10,c=x/100; if(x=a*a*a+b*b*b+c*c*c) cout<<x<<endl; return 0; }