算法
hww2369
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
折半查找
#include #include typedef int ElemType; typedef struct { ElemType *elem; int length; }SSTable; void Creat_Seq(SSTable &ST,int n) { int i,temp; ST.elem=(ElemType*)malloc(n*sizeof(ElemType)); if(!原创 2014-06-17 22:09:42 · 440 阅读 · 0 评论 -
图的深度遍历
#include"string.h" #include"malloc.h" /* malloc()等 */ #include"stdio.h" /* EOF(=^Z或F6),NULL */ #include"stdlib.h" /* exit() */ typedef int InfoType; /* 顶点权值类型 */ #define MAX_NAME 3 /* 顶点字符串的最大长度+1 */原创 2014-06-17 22:11:06 · 644 阅读 · 0 评论
分享