
hash
shishiness
这个作者很懒,什么都没留下…
展开
-
pat 甲级 hash A1078 Hashing (25分)
1078 Hashing (25分) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the input numbers. The hash function is defined to be H(key)=key%TSize where TSize is the maximum size of原创 2020-08-22 18:09:33 · 146 阅读 · 0 评论 -
pat甲级 hash A1145 Hashing - Average Search Time (25分)
1145 Hashing - Average Search Time (25分) The task of this problem is simple: insert a sequence of distinct positive integers into a hash table first. Then try to find another sequence of integer keys from the table and output the average search time (the原创 2020-08-20 15:59:35 · 104 阅读 · 0 评论