私信TA
用户名:dotcpp0602020
访问量:3028
签 名:
睡大觉
自我简介:
作者: 肖英豪 发表时间:2022-10-08 01:29:55 浏览:23 | 评论:0
解题思路:注意事项:参考代码:
#include <iostream> #include <cmath> using namespace std; int main() { for (int t = 100; t < 999; t++) { if (t == pow(t % 10, 3) + pow(t / 10 % 10, 3) + pow(t / 100, 3)) cout << t << endl; } return 0; }
0.0分
1 人评分
看不懂代码解释一下代码? 或者生成一段代码?试试AI编程助手吧