Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
68519 sh25_ganzy 水仙花数 C++ 编译错误 0 MS 0 KB 317 2025-10-06 09:20:04

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; for(a=1;a<=9;a++){ for(b=0;b<=9;b++){ for(c=0;c<=9;c++){ if(100*a+10*b+c==a*a*a+b*b*b+c*c*c){ cout<<100*a+10*b+c<<endl; } } } } return 0; ]


测评信息: