1120水仙花数2(for循环求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ for (int i = 100; i …… 题解列表 2024年06月12日 0 点赞 0 评论 121 浏览 评分:0.0
编写题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,g,s,b;for(int i=100;i<100…… 题解列表 2024年05月25日 0 点赞 0 评论 84 浏览 评分:0.0
1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long a,b,c; for(in…… 题解列表 2024年01月18日 0 点赞 0 评论 62 浏览 评分:0.0
题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ for(int i=100; i<=999; i++…… 题解列表 2024年01月18日 0 点赞 0 评论 79 浏览 评分:9.9
题解 1120: C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c ; int x,y,z ; …… 题解列表 2024年01月18日 0 点赞 0 评论 119 浏览 评分:9.9
写个判断函数 摘要:参考代码:#include<iostream> #include<cmath> using namespace std; bool judge(int); int main() { fo…… 题解列表 2024年01月01日 0 点赞 0 评论 119 浏览 评分:9.9
Yu: 1120水仙花数 摘要: **解题思路:** 使用while循环对每一位数拆解 **参考答案** ```c++ #include using namespace std; int main(){ …… 题解列表 2023年12月01日 0 点赞 0 评论 83 浏览 评分:0.0
优质题解 C语言训练-"水仙花数"问题(c++代码) 摘要:首先我们要引出一个解题方法——**穷举法(又称枚举)**,即用循环表示出所有可能性再根据题目要求使用*if* 语句筛选出符合条件的结果。 让我们先读题: > 所谓"水仙花数"是指这样的一个三位…… 题解列表 2023年07月17日 0 点赞 3 评论 889 浏览 评分:9.5
C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; for(int i=10…… 题解列表 2023年07月13日 0 点赞 0 评论 80 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; for(int i=10…… 题解列表 2023年07月13日 0 点赞 0 评论 92 浏览 评分:0.0