- 博客(5)
- 收藏
- 关注
原创 poj3083 Children of the Candy Corn【bfs+dfs】【刷题计划】
Children of the Candy Corn Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14452 Accepted: 6233 Description The cornfield maze is a popular H
2017-12-30 17:50:05 768
原创 poj 3295 Tautology【构造法】【刷题计划】
Tautology Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13580 Accepted: 5214 Description WFF 'N PROOF is a logic game played with dice. Eac
2017-12-29 15:46:16 716
原创 第六章 6.6 图的应用
6.6.1最小生成树 6.6.2 最短路径 6.6.3 拓扑排序 #include #include using namespace std; #define MVNum 100 #define OK 1 #define ERROR 0 typedef int OtherInfo; typedef int Status; typedef int VerTexType; ty
2017-12-14 15:32:43 138
原创 第六章 6.5 图的遍历
深度优先搜索 采用邻接矩阵表示图的深度优先搜索遍历 #include using namespace std; #define MaxInt 32767 #define MVNum 100 #define OK 1 bool visited[MaxInt]; typedef char VerTexType; typedef int ArcType; typedef int Status
2017-12-08 16:19:32 201
原创 第六章 6.4 图的存储结构
6.4.1邻接矩阵 #include using namespace std; //--------图的邻接矩阵存储表示----------- #define MaxInt 32767//表示极大值 #define MVNum 100//最大顶点数 #define OK 1 typedef int Status; typedef char VerTexType;//假设定点的数据类型为
2017-12-07 17:35:48 202
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人