![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
排序
qq_2423338532
这个作者很懒,什么都没留下…
展开
-
ds冒泡排序
#include<stdio.h> #include<stdlib.h> #define maxn 10 //冒泡排序 从小到大 /* 测试数据 9 5 7 8 7 0 2 1 6 9 */ typedef struct LNode *List; struct LNode{ int Data[maxn]; int Last;//线性表最后一个元素的位置 };...原创 2018-12-25 11:19:35 · 230 阅读 · 0 评论 -
B - Solving Order HDU - 5702
#include<stdio.h> #include<string.h> #include<stdlib.h> #include<math.h> #include<cmath> #include<complex> #include<string> #include<algorithm> #include...原创 2019-08-20 21:55:51 · 119 阅读 · 0 评论 -
E - EXCEL排序 HDU - 1862
# include <stdio.h> # include <string.h> # include <algorithm> using namespace std; struct student{ int id; char name[20]; int score; }s[100010]; int cmp1(student a,stu...原创 2019-08-20 22:24:05 · 83 阅读 · 0 评论 -
F - As Easy As A+B HDU - 1040
# include <stdio.h> # include <string.h> # include <algorithm> # include <iostream> using namespace std; int a[1010]; int T, N; int cmp(int a, int b){ if(a>b) return 0; ...原创 2019-08-21 10:35:48 · 85 阅读 · 0 评论