上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页
摘要: #include <stdio.h> #include <stdlib.h> #include "test_顺序表声明.h" /* run this program using the console pauser or add your own getch, system("pause") or 阅读全文
posted @ 2022-07-12 21:39 回忆也交给时间 阅读(83) 评论(0) 推荐(0)
摘要: #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 回忆也交给时间 阅读(193) 评论(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 回忆也交给时间 阅读(82) 评论(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 回忆也交给时间 阅读(58) 评论(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 回忆也交给时间 阅读(83) 评论(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 回忆也交给时间 阅读(66) 评论(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 回忆也交给时间 阅读(67) 评论(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 回忆也交给时间 阅读(91) 评论(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 回忆也交给时间 阅读(125) 评论(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 回忆也交给时间 阅读(144) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 25 下一页