C语言训练-"水仙花数"问题2-题解(C++代码) 摘要:解题思路:。。。。。。。注意事项:???????参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; …… 题解列表 2020年08月11日 0 点赞 0 评论 700 浏览 评分:9.9
1120: C语言训练-"水仙花数"问题2 摘要:简简单单,回味无穷 ```cpp #include using namespace std; int s3(int g) { return g*g*g; } int main(…… 题解列表 2022年09月11日 0 点赞 0 评论 231 浏览 评分:9.9
C语言训练-"水仙花数"问题2-题解(C++代码) 摘要:```cpp #include using namespace std ; void f(int x) { int i = x % 10 ; int j = x % 100 / 10 …… 题解列表 2020年09月01日 0 点赞 0 评论 539 浏览 评分:9.9
C语言训练-"水仙花数"问题2(小白写C++) 摘要:#include<iostream> using namespace std; int main() { int i,a,b,c; for(i=100;i<100…… 题解列表 2022年10月25日 0 点赞 0 评论 165 浏览 评分:9.9
写个判断函数 摘要:参考代码:#include<iostream> #include<cmath> using namespace std; bool judge(int); int main() { fo…… 题解列表 2024年01月01日 0 点赞 0 评论 119 浏览 评分:9.9
C语言训练-"水仙花数"问题2 (C++代码) 摘要:解题思路:从100到999便利所有的三位数,然后逐个比较参考代码:#include<bits/stdc++.h> using namespace std; int main() { for(i…… 题解列表 2018年11月14日 0 点赞 0 评论 552 浏览 评分:9.9
1120: C语言训练-"水仙花数"问题2 摘要:解题思路: 就是一个一个用for循环试。。。注意事项: 这样的数有4个!4个!4个!重要的事情说三遍!!!参考代码:方法一:#include<bits/stdc++.h>using namespac…… 题解列表 2023年07月11日 0 点赞 0 评论 119 浏览 评分:9.9
题解 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
水仙花数题解 摘要:解题思路:1——计算机。2——人工。注意事项:无参考代码:人工#include<bits/stdc++.h>using namespace std;int main(){ cout<<153<<…… 题解列表 2022年05月28日 0 点赞 0 评论 174 浏览 评分:9.9
C语言训练-"水仙花数"问题2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; for(int i=10…… 题解列表 2023年07月13日 0 点赞 0 评论 78 浏览 评分:9.9