蓝桥杯基础练习VIP-回形取数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int b[201][201];int main(){ int n,m; int a[201][201]; int i,j,x,y,t;…… 题解列表 2018年02月24日 0 点赞 0 评论 2414 浏览 评分:0.0
汪汪的暗恋 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int t,n,i; scanf("%d",&t); while(t--) { scanf("%d",&n);…… 题解列表 2018年02月24日 1 点赞 0 评论 1376 浏览 评分:9.9
蓝桥杯历届试题-买不到的数目 (C语言代码) 摘要:解题思路:枚举所有可能的数字注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); int ta,tb; for(in…… 题解列表 2018年02月24日 1 点赞 0 评论 1739 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.8 (C语言代码) 摘要:解题思路:利用if else if语句,不知道为什么在网站上总是报错,有大神可以帮忙看下吗?感谢注意事项:参考代码:#include <stdio.h>int main(){int l,t; prin…… 题解列表 2018年02月24日 0 点赞 0 评论 1333 浏览 评分:0.0
筛排处理 (C语言代码) 摘要:#include <stdio.h>int main(){ int i,j,t,count,N; int a[100]; while(scanf("%d",&N)&&N) …… 题解列表 2018年02月24日 0 点赞 0 评论 1405 浏览 评分:0.0
蓝桥杯算法训练VIP-拦截导弹 (C语言代码) 摘要:解题思路:我用了动态规划,可还是时间超时了注意事项:参考代码:#include<stdio.h>#include<malloc.h>int main(){int K=0,i,j,dao_d[10001…… 题解列表 2018年02月23日 0 点赞 0 评论 2499 浏览 评分:6.0
我是菜鸡,感觉用链表效率高一些,请各位同学提出改进建议 (结构体、链表代码) 我是刚来的菜鸡,写题解是除了想提供另一种思路,还想让同学们看看我的代码有没有可以改进之处,毕竟刚刚学习C语言,还没形成规范和掌握套路。如有建议请提出,本人必定学习一番,以让我的基础更加巩固,谢谢同学们!注:我试过用普通思路和链表的思路,链表用时短一点;解题思路:本题我是用的链表(不知道我说的对不对, 题解列表 2018年02月23日 13 点赞 4 评论 2855 浏览 评分:9.0
蛇行矩阵 (C语言代码) 摘要:解题思路:找数学规律,每行开头的第一个数字为行数(i)的(i*i-i)/2+1;注意事项:参考代码:#include <stdio.h>int main(void){ int n; scanf("%d…… 题解列表 2018年02月23日 0 点赞 0 评论 1105 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,max; scanf("%d %d %d",&a,&b,&c); max=a>b?(a>c?…… 题解列表 2018年02月23日 0 点赞 0 评论 1299 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题4.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float f,c; scanf("%f",&f); c=5.0*(f-32)/9; printf("%.2f"…… 题解列表 2018年02月23日 0 点赞 0 评论 1151 浏览 评分:0.0