提交时间:2025-07-08 17:25:36
运行 ID: 12235
#include<bits/stdc++.h> using namespace std; int b,c,d; int sxhs() { for(int i=100; i<1000; i++) { b=i/100; c=i%100/10; d=i%10; if(b*b*b+c*c*c+d*d*d==i) { return i; } } } int main() { cout<<sxhs(); }