提交时间:2024-10-11 23:08:41

运行 ID: 52684

#include<bits/stdc++.h> using namespace std; int main() { for(int x=100;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; }