登录
首页 » 其他项目 » 对任何集体(如你自己的类)的问题描述…

对任何集体(如你自己的类)的问题描述…

于 2022-01-22 发布 文件大小:2.41 kB
0 94
下载积分: 2 下载次数: 1

代码说明:

一:问题描述 针对某个集体(比如你所在的班级)中的“人名”设计一个哈希表,使得平均查找长度不超过R,完成相对的建表和查表程序。 二:基本要求 假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留余数法构造,用伪随机探测再散列法处理冲突。 三:实现提示 如果随机函数自行构造,则应首先调整好随机函数,使其分布均匀。人名的长度均不超过19个字符(最长的人名如:庄双双(ZHAGN SHUANG SHUANG)。字符的取码方法可直接利用C语言中的tosacii函数,并可对过长的人名先作折叠处理。 四:需求分析 本演示程序是对哈希表的建立和查找进行演示,主要数据来自自己编写的人名“A~~Z”等字母组成,拼音由开头的字母组成的词组,查找时用伪随机探测再散列法处理冲突。随机产生人名的位置。具体的程序内容在源程序里面有比较详细的解析。程序的运行在下列有详细的介绍。 -one : Problem description against any collective (such as your own classes) of "names" design a hash table. you make the average length of not more than R, completes the construction and Lookup Table procedures. Two : the assumption that the basic requirements were known as the Chinese name of Chinese pinyin form. Hash Table question Enter the names of a total of 30, you take the average length of a maximum of two. Hash functions with a few exception I stay constructed using pseudo-random re-hash detection method to resolve disputes. 3 : Achieving suggested ra

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • for many computer enthusiasts, not often can be installed with a computer, throu...
    对许多电脑爱好者来说,并不是常常有计算机可以安装,其实通过日常的一些维护,你也可以学到许多DIY知识。我们在这里介绍一下,常用的一些简单的维护办法,希望能引起大家注意,制定出自己的电脑维护方案。-for many computer enthusiasts, not often can be installed with a computer, through some routine maintenance, you can learn a lot of DIY knowledge. We are here to tell us, usually some simple maintenance of way that can arouse the attention of Members to develop its own computer maintenance program.
    2023-07-07 11:10:03下载
    积分:1
  • with a typed prepared by the software, to a friend under ah quickly bring source...
    用DELPHI编写的一个打字软件,想的朋友快点下啊,带源吗-with a typed prepared by the software, to a friend under ah quickly bring source?
    2022-12-16 14:40:04下载
    积分:1
  • 这是一个非常实用的网页素材。点点的星光让你的主页更加引人注。...
    这是一个非常实用的网页素材。点点的星光让你的主页更加引人注目。-This is a very useful material to the website. Stars bit of the home page will let you more visible.
    2022-05-09 14:04:12下载
    积分:1
  • 用用VB实现透明的Form,使用更方便,界面更美观
    用用VB实现透明的Form,使用更方便,界面更美观-use with VB transparent Form, the use of more convenient and more beautiful interface
    2022-03-18 00:37:04下载
    积分:1
  • achieve band switching between the small program
    实现进制之间相互转换的小程序-achieve band switching between the small program
    2022-07-12 19:26:01下载
    积分:1
  • C in A Nutshell Learning a language
    C in A Nutshell Learning a language--any language--involves a process wherein you learn to rely less and less on instruction and more increasingly on the aspects of the language you ve mastered. Whether you re learning French, Java, or C, at some point you ll set aside the tutorial and attempt to converse on your own. It s not necessary to know every subtle facet of French in order to speak it well, especially if there s a good dictionary available. Likewise, C programmers don t need to memorize every detail of C in order to write good programs. What they need instead is a reliable, comprehensive reference that they can keep nearby. C in a Nutshell is that reference.
    2022-12-16 09:20:03下载
    积分:1
  • cdecl 将声明翻译成通俗语言
    国际上著名的cdecl的超级简化版 , 也算是一个另类的中文版吧。。。可以将C 语言的声明翻译成中文哦!!!例子(上面一行是输入,下面一行是输出):int a标识符a是int型int a[]标识符a是int型的数组int *a[]标识符a是指向int型的指针的数组int *a()标识符a是返回值为指向int型的指针的函数int (*a)()标识符a是指向返回值为int型的函数的指针
    2022-10-21 19:15:04下载
    积分:1
  • 工业控制中的一种常用控制算法PID运算
    工业控制中的一种常用控制算法PID运算-industrial control of a common computing PID control algorithm
    2023-03-25 00:10:04下载
    积分:1
  • 远距离调频电路图,最低68M最高108M,合适在试验室进行测试
    远距离调频电路图,最低68M最高108M,合适在试验室进行测试-Long-range FM circuit, the minimum 68M highest 108M, suitable for testing in the laboratory
    2022-07-09 07:35:19下载
    积分:1
  • jmail 实现的程序 绝对好用 我亲自试过了
    jmail 实现的程序 绝对好用 我亲自试过了-jmail procedures to achieve absolute handy, I personally tried
    2023-07-07 12:35:04下载
    积分:1
  • 696524资源总数
  • 103930会员总数
  • 47今日下载