| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 56298 | yuboyuan | 水仙花数 | C++ | Accepted | 1 MS | 264 KB | 190 | 2024-11-10 11:41:44 |
#include<iostream> #include<cmath> using namespace std; int main() { for(int i=100;i<1000;i++)if((int)pow(i%10,3)+(int)pow(i/100,3)+(int)pow(i/10%10,3)==i)cout<<i<<endl; return 0; }