代码搜索:Search_Seq
找到约 31 项符合「Search_Seq」的源代码
代码结果 31
www.eeworm.com/read/390464/8464570
-
//顺序查找
#include
#include
#include
#define n 10
int r[n+1];
int Search_Seq(int key)
{
int i;
r[0]=key;//哨兵
for(i=n;r[i]!=key;i--);
ret
www.eeworm.com/read/364713/9897646
cpp search_seq_1.cpp
//Search_Seq.cpp
//This function is to find the element in SSTbale by sequence search
# include
# include
# include
# define MAX_LENGTH 100
typedef int KeyTyp
www.eeworm.com/read/364713/9897648
cpp search_seq_2.cpp
//Search_Seq.cpp
//This function is to find location of the inputed element in SSTbale
# include
# include
# include
# define MAX_LENGTH 100
typedef int KeyTy
www.eeworm.com/read/159245/10676023
cpp search_seq_1.cpp
//Search_Seq.cpp
//This function is to find the element in SSTbale by sequence search
# include
# include
# include
# define MAX_LENGTH 100
typedef int KeyTyp
www.eeworm.com/read/159245/10676026
cpp search_seq_2.cpp
//Search_Seq.cpp
//This function is to find location of the inputed element in SSTbale
# include
# include
# include
# define MAX_LENGTH 100
typedef int KeyTy
www.eeworm.com/read/349837/10797614
cpp algo0901.cpp
int Search_Seq(SSTable ST, KeyType key) { // 算法9.1
// 在顺序表ST中顺序查找其关键字等于key的数据元素。
// 若找到,则函数值为该元素在表中的位置,否则为0。
int i=0;
ST.elem[0].key=key; // "哨兵"
for (i=ST.length; ST.elem[i].k
www.eeworm.com/read/464901/7062214
c 顺序表操作.c
#include
#define MAXSIZE 100
#define KEYTYPE int
typedef struct
{
KEYTYPE key;
}SSELEMENT;
typedef struct
{
SSELEMENT r[MAXSIZE];
int len;
}SSTABLE;
int search_
www.eeworm.com/read/454633/7386400
cpp algo0901.cpp
int Search_Seq(SSTable ST, KeyType key) { // 算法9.1
// 在顺序表ST中顺序查找其关键字等于key的数据元素。
// 若找到,则函数值为该元素在表中的位置,否则为0。
int i=0;
ST.elem[0].key=key; // "哨兵"
for (i=ST.length; ST.elem[i].k
www.eeworm.com/read/448997/7520385
cpp algo0901.cpp
int Search_Seq(SSTable ST, KeyType key) { // 算法9.1
// 在顺序表ST中顺序查找其关键字等于key的数据元素。
// 若找到,则函数值为该元素在表中的位置,否则为0。
int i=0;
ST.elem[0].key=key; // "哨兵"
for (i=ST.length; ST.elem[i].k
www.eeworm.com/read/142809/12916837
cpp search_seq_1.cpp
//Search_Seq.cpp
//This function is to find the element in SSTbale by sequence search
# include
# include
# include
# define MAX_LENGTH 100
typedef int KeyTyp