数据结构
八棵树
古今多少事,渔唱起三更。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
实验一的第二个又叫并集。
# include<stdio.h> # include<stdlib.h> # include<string.h> # define MAX 1000 typedef struct List { int ia[MAX]; int Last; } List; List *LA; List *LB; List *LC; List *creat_list(); List *build_原创 2015-12-07 15:47:04 · 475 阅读 · 0 评论 -
实验七(以邻接矩阵为储存方式的广度优先搜索和以邻接表为储存方式的深度优先搜索方式)
#include<stdio.h> #include<stdlib.h> #define MaxVertexNum 100 #define N 100 typedef char VertexType; typedef int EdgeType; int visited[N]; typedef struct { VertexType vexs[MaxVertexNum]; EdgeT原创 2015-12-07 16:00:25 · 1435 阅读 · 0 评论 -
最近让交的实验内容:实验一
#include<stdio.h> #include<stdlib.h> #define MAXSIZE 1000 typedef int elemtype; typedef struct sequlist { elemtype data[MAXSIZE]; int last; }SequenList; SequenList *l,*B; SequenList *Init_Seque原创 2015-12-07 15:44:27 · 508 阅读 · 0 评论 -
实验三的迷宫问题
先上代码#include<stdio.h> #include<stdlib.h> #include<time.h> #define SIZE 7 #define MAX 1024 //typedef int Elemtype; typedef struct//路径方块查找方向的数据结构 { int x; int y; }Direction;typedef struct //路径方原创 2015-12-07 15:51:26 · 521 阅读 · 0 评论
分享