童叟无欺,干货满满! 摘要:解题思路: 我的思路是分三步输出:先输出比插入的数小的数,然后输出插入的数,最后输出比插入的数大的数注意事项: 咱代码对您有 题解列表 2019年01月31日 1 点赞 0 评论 511 浏览 评分:0.0
蓝桥杯算法提高VIP-计算质因子 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>void sushu(int x){ int i,j,k=0; for(i=2;i<x;i++) { …… 题解列表 2019年01月31日 1 点赞 0 评论 635 浏览 评分:0.0
勾股数 (C语言代码) 摘要:解题思路:运用穷举法加上判断找出答案。注意事项:参考代码:#include<stdio.h> int main() { int a,b,c; for(a=1;a<1000;a+…… 题解列表 2019年02月05日 2 点赞 0 评论 841 浏览 评分:0.0
川哥的吩咐 (C语言代码) 摘要:解题思路: 借鉴上一位大佬的代码做了一下改进注意事项:1、用字符串储存输入的数字 2、字符串转成数字,逆序保存,这样方便相加, 3、保证进位,…… 题解列表 2019年01月31日 1 点赞 0 评论 667 浏览 评分:0.0
全是?干货! 摘要:解题思路: 把插入的数和排好序的数组放到同一个数组里面,然后整体排序即可得到正确答案注意事项: 如果对您有帮助请给一个赞参考 题解列表 2019年02月01日 1 点赞 0 评论 1042 浏览 评分:0.0
素数回文 (C语言代码) 摘要:解题思路: 1.编写一个huiwen(int x)函数判断整数x是否回文数。 2.编写一个prime(int n)函数判断n是否是素数。 3.在主函数中判断a到b的所有奇数是否是回文…… 题解列表 2019年02月01日 1 点赞 0 评论 787 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.6 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d%d%d", &a,&b,&c); max=a…… 题解列表 2019年02月01日 0 点赞 0 评论 485 浏览 评分:0.0
C二级辅导-分段函数 (C语言代码) 摘要:解题思路:注意事项:关键两位小数参考代码:#include<stdio.h>int main(){ int x; float y; scanf("%d", &x); if(x…… 题解列表 2019年02月01日 0 点赞 0 评论 533 浏览 评分:0.0
C二级辅导-求偶数和 (C语言代码) 摘要:解题思路:注意事项:s一定要赋初值 否则运行错误 因为s值可能不为零。参考代码:#include<stdio.h>int main(){ int s=0,a,n; scanf("%d",&…… 题解列表 2019年02月01日 0 点赞 0 评论 454 浏览 评分:0.0