蓝桥杯算法提高VIP-前10名-题解(C语言代码)冒泡加调用 摘要:解题思路:注意事项:参考代码: #include <stdio.h> int s(int a[],int n) { int i,j,t; for(i=0;i<n;i++)…… 题解列表 2020年12月14日 1 点赞 0 评论 180 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名-题解(Python代码) 摘要:# Life is short,I use Python! ``` n = int(input()) data = list(map(int, input().strip().split()…… 题解列表 2021年01月22日 0 点赞 0 评论 253 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (C语言代码) 摘要:解题思路: 1、先读入十个数,并且排序(为什么不能直接将数组初始化为0?因为不排除这些数据都是小于0的);2、接下来的每个数据都跟数组里边的数据比较,得出大的次数,也就是得到这个数据应该排在第几位;3…… 题解列表 2019年04月03日 0 点赞 0 评论 439 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名-题解(C语言代码) 摘要:```c #include int main() { int num[200]; int n,i,j,t; scanf("%d",&n); for(i…… 题解列表 2020年02月26日 0 点赞 0 评论 268 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名-题解(C语言代码) 摘要:## 很简单的一道排序题 ### 自定义从大到小排序 ```c int cmp ( const void *a , const void *b ) { return *(int *)…… 题解列表 2019年12月19日 0 点赞 0 评论 609 浏览 评分:0.0
c++ sort快排解决问题(签到) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int N = 2e2 + 5;int main(){ …… 题解列表 2023年01月12日 0 点赞 0 评论 91 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名-题解(Java代码) 摘要:import java.util.Scanner;public class Main { public static void main(String[] args){ Scanner input …… 题解列表 2020年06月27日 0 点赞 0 评论 221 浏览 评分:0.0
蓝桥杯算法提高VIP-前10名 (Java代码) 摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] arr = new int[n]; …… 题解列表 2018年01月22日 2 点赞 0 评论 797 浏览 评分: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
c++1503: 蓝桥杯算法提高VIP前十名 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,m[200]; cin>>n; fo…… 题解列表 2022年04月08日 0 点赞 0 评论 117 浏览 评分:0.0