06 2022 档案

摘要:#include<stdio.h> #include<stdlib.h> typedef struct { float coef; int expn; struct Polynomial* next; }Polynomial; //建立多项式 Polynomial *CreatePoly() { P 阅读全文
posted @ 2022-06-21 17:01 回忆也交给时间 阅读(151) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #include<stdlib.h> #define MAXSIZE 20 //循环队列 typedef int datatype; typedef struct { datatype data[MAXSIZE];//队列的数据存储区 int front,rear 阅读全文
posted @ 2022-06-15 23:12 回忆也交给时间 阅读(36) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #include<stdlib.h> #define MAXSIZE 20 //链栈 typedef int Elemtype; typedef struct Stacknode { Elemtype data; struct Stacknode *next; i 阅读全文
posted @ 2022-06-14 22:51 回忆也交给时间 阅读(25) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #include<stdlib.h> #define MAXSIZE 20 typedef int datetype; typedef struct { datetype date[MAXSIZE]; int top; }SeqStack; SeqStack *s 阅读全文
posted @ 2022-06-14 22:50 回忆也交给时间 阅读(30) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #include<stdlib.h> #define MAXSIZE 20 typedef int ElemType; typedef struct { ElemType elem[MAXSIZE]; int length; }SeqList;//定义一个顺序表 阅读全文
posted @ 2022-06-13 21:47 回忆也交给时间 阅读(29) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #include<stdlib.h> typedef int ElemType; typedef struct node { ElemType date;//数据域 struct node *next;//指针域 }LNode,*LinkList; //用尾插法建 阅读全文
posted @ 2022-06-13 21:47 回忆也交给时间 阅读(36) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #define MAXSIZE 100 typedef int KeyType; typedef struct { KeyType key; }RecordType; typedef struct { RecordType r[MAXSIZE+1]; int le 阅读全文
posted @ 2022-06-09 23:17 回忆也交给时间 阅读(57) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #define MAXSIZE 100 typedef int KeyType; typedef struct { KeyType key; }RecordType; typedef struct { RecordType r[MAXSIZE+1]; int le 阅读全文
posted @ 2022-06-08 18:46 回忆也交给时间 阅读(77) 评论(0) 推荐(0) 编辑
摘要://递归排序 #include<stdio.h> #include<stdlib.h> //归并排序-合并 void merge(int arr[],int tempArr[],int left,int mid,int right) { //标记左边未排序的元素 int l_pos=left; // 阅读全文
posted @ 2022-06-07 22:02 回忆也交给时间 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-06-06 22:32 回忆也交给时间 阅读(19) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示