2020年6月14日

摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #define OVERFLOW -2 #define ERROR 0 #define OK 1 #define Length (q.rear+1)%QUEUE_MAXSIZE // 阅读全文
posted @ 2020-06-14 10:55 寒门行 阅读(434) 评论(0) 推荐(0)
 
摘要: #include<stdio.h> #include<string.h> #include<stdlib.h> //树结点定义 typedef struct { int weight; int parent; int lchild; int rchild; }HTNode,*HuffmanTree; 阅读全文
posted @ 2020-06-14 10:53 寒门行 阅读(994) 评论(0) 推荐(0)
 
摘要: #include<stdlib.h>#include<stdio.h>#define NULL 0typedef int KeyType;typedef struct{ KeyType key;} ElemType;int haxi(KeyType key,int m) /*根据哈希表长m,构造除留 阅读全文
posted @ 2020-06-14 10:50 寒门行 阅读(323) 评论(0) 推荐(0)
 
摘要: https://baijiahao.baidu.com/s?id=1629054934725051961&wfr=spider&for=pc 阅读全文
posted @ 2020-06-14 10:47 寒门行 阅读(190) 评论(0) 推荐(0)