摘要:
1、稀疏矩阵的压缩存储定义和初始化 #include<stdio.h> #include<stdlib.h> #include<malloc.h> #include<assert.h> #include<memory.h> #define ElemType int #define MAXSIZE 1 阅读全文
posted @ 2024-09-27 09:03
颜欢兮
阅读(32)
评论(0)
推荐(0)
摘要:
1、广义的定义和初始化 #include<stdio.h> #include<malloc.h> #include<string.h> #include<assert.h> #include<stdlib.h> #define ATOM_TYPE int typedef enum { HEAD, A 阅读全文
posted @ 2024-09-27 09:01
颜欢兮
阅读(36)
评论(0)
推荐(0)
摘要:
1、代码实现 #include<stdio.h> #include<malloc.h> #include<assert.h> #include<string.h> typedef struct HeapString{ char* ch; int length; }HString; //初始化 voi 阅读全文
posted @ 2024-09-27 08:59
颜欢兮
阅读(13)
评论(0)
推荐(0)
摘要:
1、代码实现 #include<stdio.h> #include<malloc.h> #include<assert.h> #include<string.h> //"abcdef" => "abcdef/0 // 用数组第一个空间存储字符串长度 5 a b c e f #define MAX_S 阅读全文
posted @ 2024-09-27 08:58
颜欢兮
阅读(18)
评论(0)
推荐(0)

浙公网安备 33010602011771号