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

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

于 2022-01-22 发布 文件大小:2.41 kB
0 241
下载积分: 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 个回复

  • multi
    多用户系统,用户可拥有自己的音乐盒,每个音乐盒可以收藏歌曲20条,采用优化的网站结构,使数据库查询更合理,服务器占用资源更少,暂时无后台功能,将在更新版中推后后台功能 用户名:polo 密码:111111 -multi-user system, users can have their own music boxes, each music box collection 20 songs, using the optimum structure of the website so that more reasonable database query, the server occupied fewer resources, but no background functions, the updated version will be pushed after background function Username : Password polo : 111111
    2022-01-25 20:03:29下载
    积分:1
  • C_NQueens Ask not what your country can do f or you Ask what you can do for your...
    C_NQueens Ask not what your country can do for you Ask what you can do for your country. -C_NQueens Ask not what your country can do f or you Ask what you can do for your country.
    2022-03-21 01:22:40下载
    积分:1
  • C5.0算法源代码
    c5.0算法源代码-c5.0 algorithm source code
    2022-03-09 16:49:52下载
    积分:1
  • Image restoration in labview
    Image restoration in labview
    2022-11-09 15:25:03下载
    积分:1
  • Erh startling to stay in office, she does not want to go home, as she has been h...
    玉儿无神地呆在办公室,她不想回家,她象受到重创般再没有以往的神气,就在她正享受这份孤独寂寞时,刺耳的短信...刚刚发了一篇作品,一种好奇心的驱使,她误闯进了一家聊天室,其实也就是联想总站的一个小聊天室而已-Erh startling to stay in office, she does not want to go home, as she has been hard hit as no previous listless, She is on the enjoyment of this loneliness, piercing SMS ... has just made a one works, a curiosity, She had mistakenly entered a chat room, in fact, is the terminus of an association of small chat room only
    2023-01-25 23:40:03下载
    积分:1
  • C语言编程写的一个http下载,实现HTTP请求和GET获取应答。
    C语言编程写的一个http下载,实现HTTP请求和GET获取应答。-C programming language written in an http download, to achieve access to HTTP requests and responses GET.
    2022-01-25 14:41:32下载
    积分:1
  • 读写pdf格式文件的多平台C语言工具库
    读写pdf格式文件的多平台C语言工具库-Multi_platform C language Tools Library which can read and write pdf file
    2023-04-23 21:55:02下载
    积分:1
  • -C
    2022-09-12 00:50:03下载
    积分:1
  • Go to the " mobile game development" on the example of an RPG game, wan...
    转至《手机游戏开发》上的一个RPG游戏例子,希望对初学者有帮助。-Go to the " mobile game development" on the example of an RPG game, want to be helpful for beginners.
    2022-03-20 04:26:47下载
    积分:1
  • Snake will turboc2 skate.c documents can be run. SN : snake***** EGAVGA.BGI coul...
    贪吃蛇 将skate.c文件用turboc2运行即可。 SN:snake ***** EGAVGA.BGI不能删除,如果删除,则SKATE.EXE就不能运行-Snake will turboc2 skate.c documents can be run. SN : snake***** EGAVGA.BGI could not be deleted, if deleted, then SKATE.EXE can not run
    2022-05-09 09:08:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载