- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 数据结构试验7.5 图
#include <stdio.h> #include "stdlib.h" #define vertexnum 10 typedef struct node{ int vertex; struct node *next; }*graph; struct node head[vertexnum]; int visited[vertexnum]; int path[50...
2019-06-17 18:12:18 219
原创 深度优先搜索
#include <stdio.h> #include "stdlib.h" #define vertexnum 10 typedef struct node{ int vertex; struct node *next; }*graph; struct node head[vertexnum]; int visited[vertexnum]; //以邻接表形式存储...
2019-06-17 11:41:39 138
原创 Sort 总结
#include <stdio.h> #include <stdlib.h> /*排序算法大致过一遍 * */ void Swap(int *ar,int i,int j){ int temp; temp = ar[i]; ar[i] = ar[j]; ar[j] = temp; } void Show(int *ar,int size...
2019-06-17 11:40:48 199
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人