| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 56413 | 许兴平 | 水仙花数 | C++ | Accepted | 0 MS | 248 KB | 184 | 2024-11-11 23:14:50 |
#include<bits/stdc++.h> using namespace std; int main(){ for(int i=100;i<=999;i++){ int a=i%10,b=i/10%10,c=i/100; if(a*a*a+b*b*b+c*c*c==i) cout<<i<<endl; } return 0; }