上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: #include #include #include typedef enum{ATOM, LIST}ElemType;typedef struct GLNode{ ElemType tag; union{ char atom;... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(48) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include typedef int ElemType;typedef struct Node{ int row, col; ElemType data; ... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(71) 评论(0) 推荐(0)
摘要: 直接编译运行即可 #include using namespace std;#define PI 3.14159265void menu(){ printf("******** 转化器 ************\n"); printf(... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(154) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS#include #include #include typedef struct _Triple{ int i; int j; int e;}Triple;typedef... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(56) 评论(0) 推荐(0)
摘要: #include #include #include typedef struct TreeNode{ char data; struct TreeNode *LChild, *RChild;}TreeNode;void Create(Tre... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(52) 评论(0) 推荐(0)
摘要: 需要注意的点:在创建二叉树的函数中,如果len1==len2==0,一定要把(*T)置为NULL然后退出循环 #include #include #include typedef struct TreeNode{ char data; str... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(60) 评论(0) 推荐(0)
摘要: 题解 这道题目说的很诡异,其实没有什么把括号补上。。。。仅仅是先序读入,然后中序输出就行了 代码 #include #include #include typedef struct TreeNode{ char data; struct Tr... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(89) 评论(0) 推荐(0)
摘要: ​ 代码 代码 #include #include #include typedef struct ArcNode{ int to; struct ArcNode *next; int w;}ArcNode;typedef struct... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(51) 评论(0) 推荐(0)
摘要: 目录 代码 代码 #include #include #include typedef struct ArcNode{ int to; struct ArcNode *next; int w;}ArcNode;typedef ... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(41) 评论(0) 推荐(0)
摘要: 图的存储结构大赏------数据结构C语言(图) 本次所讲的是常有的四种结构: 邻接矩阵邻接表十字链表邻接多重表 邻接矩阵 概念 两... 阅读全文
posted @ 2022-07-02 19:00 心坚石穿 阅读(147) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页