C语言程序设计教程(第三版)课后习题6.6 (C语言代码) 摘要:解题思路:强行解答!!!注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,p;for(a=1;a<10;a++){ for(b=0;b<10…… 题解列表 2018年01月04日 10 点赞 2 评论 1720 浏览 评分:9.7
很简单的水仙花,使我大脑旋转。 摘要:解题思路:直接按照水仙花定义求解注意事项:关键在于如何表示百位,十位,个位的数值,三位数除100再取10的余得百位,除10取10的余得十位,直接取10的余得个位。参考代码:#include <stdi…… 题解列表 2023年11月19日 0 点赞 0 评论 89 浏览 评分:9.9
骗 过 上 帝 的 题 解 摘要:解题思路:由于与阿姆斯特朗数一样,因此不再赘述。还是那四个数注意事项:【手动滑稽】参考代码:#include<stdio.h>int main(){ printf("153\n"); pr…… 题解列表 2022年08月06日 0 点赞 0 评论 154 浏览 评分:9.9
[编程入门]水仙花数判断-题解(C语言代码) 摘要:解题思路:(很简单)注意事项:(初学者使用)参考代码:#include <iostream>#include <cstdio>using namespace std;int main(){ f…… 题解列表 2020年11月17日 0 点赞 0 评论 579 浏览 评分:9.9
水仙花数简单理解版 摘要:解题思路:理清题意,水仙花数是三位数的注意事项:太简单了参考代码:for i in range(100,999): a = (i//100) b =(i//10)%10 c = i%…… 题解列表 2022年12月12日 0 点赞 2 评论 419 浏览 评分:9.9
旧物有情 # 枚举法求水仙花数 摘要:``` #include using namespace std; int main(){ //枚举所有三位数 for(int i=100; i…… 题解列表 2024年10月10日 0 点赞 0 评论 154 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题6.6 (C语言代码) 摘要: #include #include #include int main() { int num=100; int a,b,…… 题解列表 2019年02月27日 0 点赞 0 评论 743 浏览 评分:9.9
[编程入门]水仙花数判断-题解(C语言代码) 摘要:参考代码:#include<stdio.h> #include<math.h> int main() { int a,b,c; for(int i=100; i<1000; ++i) { …… 题解列表 2020年07月21日 0 点赞 2 评论 1015 浏览 评分:9.9
水仙花数判断! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ for (int i = 100; i < 1000; i++) { in…… 题解列表 2023年12月27日 0 点赞 0 评论 93 浏览 评分:9.9
水仙花判断1016 摘要:解题思路:注意事项:这次不是判断你输出的数是不是水仙花而是在100到1000之内都有哪些水仙花参考代码:#include<stdio.h>int main(){ int a,b,c; for(int …… 题解列表 2022年04月03日 0 点赞 0 评论 248 浏览 评分:9.9