![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
OutMicro
要对得起自己过去吹过去的牛逼。
展开
-
图的邻接矩阵的建立(C语言实现)
#include #include typedef char VertexType; typedef int EdgeType; #define MAXVEX 100 #define INFINITY 65535 typedef struct { VertexType vers[MAXVEX]; EdgeType arc[MAXVEX][MAXVEX]; int numVertexes,num原创 2015-05-08 18:22:05 · 10380 阅读 · 2 评论 -
数据结构串的实现以及KMP改进算法
#include #include #define OK 1 #define ERROR 0 #define TRUE 1 #define FALSE 0 #define MAXSIZE 40 /* 存储空间初始分配量 */ typedef int Status; /* Status是函数的类型,其值是函数结果状态代码,如OK等 */ typedef char String[MAXSIZE+转载 2015-04-28 18:38:15 · 435 阅读 · 0 评论 -
最短路径迪杰斯特拉算法实现
#include #include #define MAXVEX 9 #define INFINITY 65535 typedef int Pathmatrix[MAXVEX];//存储最短路径 typedef int ShortPathTable[MAXVEX];//存储到最短路径的权值和 typedef char VertexType; typedef int EdgeType; ty原创 2015-05-12 11:40:25 · 553 阅读 · 0 评论