Toggle navigation
HUSTOJ
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
Recent
Login
Problem1461--线性探测法的查找函数
1461: 线性探测法的查找函数
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
0
Solved:
1
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
试实现线性探测法的查找函数。 函数接口定义: Position Find( HashTable H, ElementType Key ); 其中HashTable是开放地址散列表,定义如下: #define MAXTABLESIZE 100000
Input
哈希表H,查找键值key
Output
哈希表H,查找键值key
Sample Input
Copy
11 11 88 21 -1 -1 5 16 7 6 38 10 38
Sample Output
Copy
38 is at position 9.
Source/Category