| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 73139 | jdf25_wangchs | 水仙花数 | C++ | 通过 | 0 MS | 248 KB | 317 | 2025-11-06 20:02:24 |
#include <iostream> using namespace std; int main() { for(int i = 100;i < 1000;i++) { int first = i%10; int second = i/10%10; int third = i / 100; if(first*first*first+second*second*second+third*third*third == i) { cout<<i<<endl; } } }