mirror of
https://github.com/Didnelpsun/CS408.git
synced 2026-06-16 15:07:38 +08:00
更新查询
This commit is contained in:
13
Code/search.h
Normal file
13
Code/search.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "head.h"
|
||||
|
||||
// 分块查找
|
||||
// 分块索引表
|
||||
typedef struct {
|
||||
// 块中最大元素
|
||||
element_type max;
|
||||
// 存储区间的最低索引和最高索引
|
||||
int low, high;
|
||||
} BlockSearchIndex;
|
||||
|
||||
Reference in New Issue
Block a user