利用C++输出1000以内的所有水仙花数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int judgement(int num);int main…… 题解列表 2023年11月30日 0 点赞 0 评论 225 浏览 评分:0.0
使用for 循环语句 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { for (int n = 100; n < 1000;…… 题解列表 2023年09月04日 0 点赞 0 评论 282 浏览 评分:9.9
c加加 解决问题 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;#include <math.h>int main() { for (long long i…… 题解列表 2023年03月21日 0 点赞 0 评论 226 浏览 评分:0.0
c++水仙花数判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a = 0; for(int i=100;i<=…… 题解列表 2023年03月09日 0 点赞 0 评论 254 浏览 评分:0.0
c++解题思路 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<math.h>using namespace std;int main(){ for(int i=100;i<…… 题解列表 2023年03月02日 0 点赞 0 评论 259 浏览 评分:9.9
编写题解 1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int x,y,z; for(int a=100; a<1000; …… 题解列表 2023年01月06日 0 点赞 0 评论 225 浏览 评分:0.0
水仙花数的判断 摘要:解题思路:获取个位数:对数字取模于10获得个位数(%10)获取十位数:先整除10得到两位数(/10)再取模于10得到十位(%10)获取百位数:直接整除于100;注意事项:参考代码:#include<i…… 题解列表 2022年12月14日 0 点赞 0 评论 319 浏览 评分:0.0
水仙花数判断 摘要: #include using namespace std; int main() { int a, b, c; for (int i = …… 题解列表 2022年10月10日 0 点赞 0 评论 203 浏览 评分:0.0
1016: [编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include <iostream> #include <cmath> using namespace std; int main() { for (…… 题解列表 2022年10月08日 0 点赞 0 评论 233 浏览 评分:2.0
1016-水仙花数判断 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a,b,c=3; …… 题解列表 2022年10月04日 0 点赞 0 评论 294 浏览 评分:0.0