Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129362 田祥江 100~999的水仙花数 C++ Wrong Answer 1 MS 264 KB 171 2025-08-24 14:43:03

Tests(0/1):


Code:

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


Run Info:

------Input------
0
------Answer-----
153 370 371 407
------Your output-----