| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 157728 | 殷佳雨萱 | 100~999的水仙花数 | C++ | Accepted | 1 MS | 260 KB | 208 | 2026-08-16 12:06:52 |
#include<bits/stdc++.h> using namespace std; int main(){ for(int s=100;s<=999;s++){ int a=s%10; int b=s/10%10; int c=s/100; if(a*a*a+b*b*b+c*c*c==s){ cout<<s<<endl; } } return 0; }