Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
73139 jdf25_wangchs 水仙花数 C++ Accepted 0 MS 248 KB 317 2025-11-06 20:02:24

Tests(1/1):


#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; } } }


Judgement Protocol: