汽水瓶 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,i=0,a[10]; while(scanf("%d",&x) && x!=0 && i…… 题解列表 2018年04月05日 0 点赞 0 评论 706 浏览 评分:0.0
C二级辅导-公约公倍 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int max(int a,int b){ if(b) return max(b,a%b); return a…… 题解列表 2018年04月04日 0 点赞 0 评论 749 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:void fun1(float a,float b,float c){ float x1,x2; float des=b*b-4*a*c; x1=(-b+sqrt(des…… 题解列表 2018年04月04日 0 点赞 0 评论 1143 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:一定要记住,在float,或者double时,用 / 需要加.0 即:float c= 5/9; wrong; &n 题解列表 2018年04月04日 0 点赞 0 评论 807 浏览 评分:0.0
C二级辅导-进制转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>eight(int n){ if(n>=8){ eight(n/8);//先执行循环体,在执行printf,但是n并…… 题解列表 2018年04月04日 0 点赞 0 评论 985 浏览 评分:0.0
2003年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int isprime(int x){ if(x==1)//别忘了1不是素数 ret…… 题解列表 2018年04月04日 0 点赞 0 评论 1171 浏览 评分:0.0
采药 (C语言代码) 摘要:解题思路:这道题提交了好多次都失败了,刚开始想当然地用贪心算法,后来发现错了又用回溯法,但是运行超时,最后采用动态规划顺利解决。这题的解题思路及方法其他题解已经讲得很清楚了。所以此文章仅仅是为了记下自…… 题解列表 2018年04月04日 0 点赞 0 评论 1295 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.8 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<malloc.h>typedef struct Lnode{ int no; int num; …… 题解列表 2018年04月04日 0 点赞 0 评论 997 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.1 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int input , i; scanf("%d",&input); for( i = 2 ; i …… 题解列表 2018年04月04日 0 点赞 0 评论 651 浏览 评分:0.0
优质题解 Manchester- 蓝桥杯算法提高VIP-模拟计算器 摘要:解题思路:方法①: switch(choise_F(A)) { case 1:{printf("%d\n\n",x+y);b 题解列表 2018年04月04日 9 点赞 2 评论 4577 浏览 评分:8.2