摘要: struct Node { int weight; int parent; int lChild; int rChild; }; typedef struct Node NODE; typedef NODE *HuffmanTree; int selector(HuffmanTree HT, int 阅读全文
posted @ 2020-10-17 22:31 Blithe-Chiang 阅读(386) 评论(0) 推荐(0)
摘要: /** * 看了 b站视频 BV1jb411V78H 对KMP有了一点理解,然后我写了这个代码 * 这个代码和视频里面的有一点不同,字符串是从 0 开始的,而不是从1 开始的 * 希望能够帮到学习KMP的人 */ #include <stdbool.h> #include <malloc.h> #i 阅读全文
posted @ 2020-10-04 08:14 Blithe-Chiang 阅读(444) 评论(0) 推荐(0)
摘要: ; 在某行显示日期,时间 ; 代码里面我写死成12行了 assume cs:code code segment cmos_arr: db 9, 8, 7, 4, 2, 0 char_arr: ; 这个第一个' ' 空格其实是一个占位置用的 db ' ', '/', '/', ' ', ':', ': 阅读全文
posted @ 2020-09-01 16:28 Blithe-Chiang 阅读(926) 评论(0) 推荐(1)