- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Bellman-Ford——C++实现版
// Bellman_Ford.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #define MAX_VALUE 1000using namespace std;struct Edge{ int Begin; int End; int Weight; int Pre;};struct MGraph
2015-11-18 12:34:19 1577
原创 Dijkstra算法——C++实现版
// Dijkstra.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #define MAX_VALUE 1000using namespace std;struct MGraph{ int *edges[MAX_VALUE]; int iVertexCount, iEdageCount;};voi
2015-11-16 21:18:29 940 1
原创 Floyd算法——C++实现版
// Floyd.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #define MAX_VALUE 1000#define MAX_VERTEX_COUNT 20 using namespace std;struct MGraph{ int *edges[MAX_VALUE]; int iVertexC
2015-11-16 16:40:51 7238 2
原创 KMP算法——C++实现版
// KMP.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #define I_N_MAX 10000using namespace std;void KmpSearch(char[], char[], int[]);void GetNextval(char[], int next[]);int mai
2015-11-13 22:52:55 2486 2
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人