水仙花数判断 #includeusingnamespacestd;intmain(){inta,b,c;for(inti=100;i 题解列表 2022年10月10日 0 点赞 0 评论 387 浏览 评分:0.0
水仙花数的判断 摘要:解题思路:注意事项:调用pow()函数,要引用#include<math.h>的库文件参考代码:#include<iostream>using namespace std;#include<math.…… 题解列表 2021年03月11日 0 点赞 0 评论 944 浏览 评分:0.0
极简单方法 摘要:解题思路:通过遍历,并将数个、十、百表示出来。参考代码:#include<iostream> using namespace std;int main(){ for(int i=100;i<10…… 题解列表 2021年05月17日 0 点赞 0 评论 844 浏览 评分:0.0
非正常解法但是很基础 摘要:解题思路:穷举a,循环求和,判断是否相等,输出。注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b,c,su…… 题解列表 2021年10月25日 0 点赞 0 评论 466 浏览 评分:0.0
水仙花数判断 摘要:参考代码:#include"bits/stdc++.h" using namespace std; int a[1111]; bool check(int z){ int q=0; in…… 题解列表 2022年01月20日 0 点赞 0 评论 500 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.6 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int i,j,k,t; for(int a=100;a <1000;a ++) { …… 题解列表 2017年07月27日 0 点赞 0 评论 1525 浏览 评分:0.0
用for循环遍历数据panduan 摘要:解题思路:注意事项:这个代码能在vs上运行但答案错误不知道为啥参考代码:#include<iostream>using namespace std;int main(){ int a, b, c…… 题解列表 2022年02月26日 0 点赞 0 评论 487 浏览 评分:0.0
水仙花数判断 题解(c++拆分) 摘要:解题思路:要求拆分再判断是否为是否符合要求,如符合,便输出。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int m…… 题解列表 2022年05月08日 0 点赞 0 评论 553 浏览 评分:0.0
[编程入门]水仙花数判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<153<<endl<<370<<endl<<37…… 题解列表 2022年05月17日 0 点赞 0 评论 510 浏览 评分:0.0
[编程入门]水仙花数判断 C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<153<<endl<<370<<endl<…… 题解列表 2022年05月23日 0 点赞 0 评论 468 浏览 评分:0.0