Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159842 Kevin C语言6.15 C++ Accepted 1 MS 264 KB 240 2026-09-09 15:27:48

Tests(1/1):


Code:

#include<iostream> using namespace std; int main() { for(int i=100;i<=999;i++){ int ge=i%10; int shi=i/10%10; int bai=i/100; if(ge*ge*ge+shi*shi*shi+bai*bai*bai==i){ cout<<i<<" "; } } cout<<endl; return 0; }