前10名 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int n,a[200],i,j; scanf("%d",&n); for(i=0;i<n;i+…… 题解列表 2017年10月22日 0 点赞 0 评论 910 浏览 评分:9.9
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:参考代码:#include <stdio.h> int main() { int i,j,n,t,max,a[200]; scanf("%d",&n); for(i=…… 题解列表 2018年01月29日 2 点赞 0 评论 1051 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,a[200]={0}; int n,t; scanf("%d",&n); for(i=0;i<n…… 题解列表 2018年03月01日 1 点赞 1 评论 624 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路:注意事项:参考代码:/*数据很多,但我们经常只取前几名,比如奥运只取前3名。现在我们有n个数据,请按从大到小的顺序,输出前10个名数据。数据规模和约定 10< =n< =200,各个整数不超…… 题解列表 2018年03月06日 0 点赞 0 评论 1214 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:#include<stdio.h>int main(){ int n,a[200],t; do { scanf("%d",&n); }while(n<10||n>200); int i,j; for…… 题解列表 2019年02月14日 0 点赞 0 评论 388 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路: 1、先读入十个数,并且排序(为什么不能直接将数组初始化为0?因为不排除这些数据都是小于0的);2、接下来的每个数据都跟数组里边的数据比较,得出大的次数,也就是得到这个数据应该排在第几位;3…… 题解列表 2019年04月03日 0 点赞 0 评论 439 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int a[2000]; int main() { int n,t; scanf("%d",&n); //输入 …… 题解列表 2019年04月29日 0 点赞 0 评论 533 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码)冒泡,选择,任选其一!! 摘要:解题思路:冒泡或者选择排序,先排好,再输出!!注意事项:无!!参考代码:#include<stdio.h>int main(){ int n,i,j,t,k; int a[210]; scanf("%…… 题解列表 2019年04月29日 1 点赞 0 评论 441 浏览 评分:0.0
利用冒泡法找前10名 (C语言代码) 摘要:解题思路:利用冒泡法进行10趟比较找出前十名的数据,没进行一趟比较就输出一个数据注意事项:注意冒泡法的用法即可。参考代码:#include"stdio.h"#include"malloc.h"int …… 题解列表 2019年04月30日 1 点赞 0 评论 650 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,t,s[200]; scanf("%d",&n); for(i=0;i<n;i++) sca…… 题解列表 2019年05月17日 0 点赞 2 评论 226 浏览 评分:0.0