| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 74300 | sh25_shenpy | 水仙花数 | C++ | Time Limit Exceeded | 1000 MS | 228 KB | 277 | 2025-11-25 20:41:30 |
#include<bits/stdc++.h> using namespace std; int main() { int n=100,a,b,c; c=n%10; b=(n-c)/10%10; a=(n-c-b*10)/100; while(n<=999){ if(n==a*a*a+b*b*b+c*c*c){ cout<<n<<endl; n=n+1; } } return 0; }