Run ID:115257

提交时间:2025-03-30 08:38:10

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