CCCCCCCCCCCCCCCCCCCCCCCC++++++++++++++++++++++++++++++++++ 摘要:解题思路:1注意事项:2参考代码:#include<iostream>using namespace std;int main(){ int a,b,c;&nbs…… 题解列表 2025年11月05日 0 点赞 0 评论 146 浏览 评分:0.0
你就说过没过吧 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<&quo…… 题解列表 2025年07月25日 10 点赞 1 评论 412 浏览 评分:10.0
使用for循环遍历所有三位数,一个一个地判断是否符合要求 摘要:解题思路:使用for循环遍历所有三位数,一个一个地判断是否符合要求注意事项:注意括号配对,需要细心检查参考代码:#include<bits/stdc++.h>using namespace…… 题解列表 2025年04月07日 2 点赞 0 评论 859 浏览 评分:10.0
新手写水仙花数判断(c++已过) 摘要:解题思路:由于确定为三位数,所以直接求各位数字即可注意事项:参考代码:#include<iostream>using namespace std;int main(){ for(int i=10…… 题解列表 2024年11月08日 1 点赞 0 评论 692 浏览 评分:10.0
旧物有情 # 枚举法求水仙花数 摘要:``` #include using namespace std; int main(){ //枚举所有三位数 for(int i=100; i…… 题解列表 2024年10月10日 0 点赞 0 评论 436 浏览 评分:9.9
[编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int i,a,b,c; f…… 题解列表 2024年02月08日 0 点赞 0 评论 517 浏览 评分:0.0
C++输出所有水仙花数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int i,j; int a,b,c; for(i…… 题解列表 2024年01月19日 0 点赞 0 评论 258 浏览 评分:0.0
蛮力法求解水仙花数 摘要:解题思路:由题可知,水仙花数为:abc=a^3+b^3+c^3;且100<水仙花数<1000即可用循环的方法找到100~1000中的所有数再逐一判断是否是水仙花数注意事项:使用pow函数时需要调用#i…… 题解列表 2024年01月17日 0 点赞 0 评论 257 浏览 评分:0.0
习题习题。 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cmath> using namespace std; bool judge(int); int main…… 题解列表 2024年01月01日 0 点赞 0 评论 249 浏览 评分:9.9
数组存储,循环相除(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int arr[3] = { 0 …… 题解列表 2023年12月22日 0 点赞 0 评论 246 浏览 评分:0.0