登录
首页 » Windows开发 » Set T [0: n

Set T [0: n

于 2022-05-27 发布 文件大小:6.74 kB
0 133
下载积分: 2 下载次数: 1

代码说明:

设T[0:n-1]是n个元素的一个数组。对任一元素x,设S(x)={i|T[i]=x}。当|S(x)|>n/2时,称x为T的主元素。设计一个线性时间算法,确定T[0:n]是否有一个主元素。-Set T [0: n-1] is the n elements of an array. Of any element x, set S (x) = (i | T [i] = x). When | S (x) |> n/2 when x for T said the main element. Design a linear time algorithm to determine the T [0: n] whether there is a main element.

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

发表评论

0 个回复

  • 使用XML编写的通讯薄
    使用XML编写的通讯薄-prepared by the use of XML communications thin
    2022-03-24 23:21:19下载
    积分:1
  • Cshape 项目中引入报表功能说实用的动态链接库 功能实用 是学习的好例子...
    Cshape 项目中引入报表功能说实用的动态链接库 功能实用 是学习的好例子-Cshape project features the introduction of statements that the dynamic link library of practical utility function is a good example of learning
    2022-01-25 23:50:13下载
    积分:1
  • 连连看游戏代码
    在VS2010环境下,使用C#语言编写的连连看游戏代码,完全可以自己设计和编辑,在这个基础上开发自己喜欢风格的连连看小游戏,学习编程又娱乐身心的好办法。游戏的界面友好,可以自己添加喜欢的音乐作为游戏的背景音乐。总之,开源的游戏代码,乐趣多多啦!
    2022-06-22 03:38:37下载
    积分:1
  • 如何用VB在后台监视键盘?
    如何用VB在后台监视键盘?-how to use VB surveillance keyboard in the background?
    2022-03-14 03:50:24下载
    积分:1
  • Saved in a file directory contents, create a file or subdirectory can use comman...
    在文件中保存目录内容,创建文件或子目录可以用命令行命令:MD、CD、RD、MK(创建文件)、DEL(删除文件)和DIR。目录项包括文件或目录名称、类型(文件、目录或空目录项)、创建日期以及下一个目录项指针、下一级目录项指针。-Saved in a file directory contents, create a file or subdirectory can use command-line commands: MD, CD, RD, MK (create file), DEL (delete files), and DIR. Directory entry includes the file or directory name, type (file, directory, or an empty directory entries), creation date and the next pointer to a directory entry, the next one directory entry pointer.
    2023-07-14 02:55:02下载
    积分:1
  • 本文详细的介绍了windows环境下驱动程序的方法。
    本文详细的介绍了windows环境下驱动程序的开发方法。-this detailed account of the windows environment drive the development method.
    2022-02-05 03:51:06下载
    积分:1
  • vb雷赛单多轴运动
    雷赛运动控制卡的二次开发,调用内部函数,功能强大,易用。有单轴,多轴,通用IO,回原点,直线差补,圆弧差补,连续差补,手轮运动,真的很强大。
    2022-05-24 02:09:30下载
    积分:1
  • speex speech enhancement
    speex语音增强
    2022-01-22 07:54:13下载
    积分:1
  • windows环境下的基于COM的串口通信组件,封装了串口的常用操作,很好用!...
    windows环境下的基于COM的串口通信组件,封装了串口的常用操作,很好用!-windows environment based on the serial communication COM components, packaging commonly used by the serial port operations, with very good!
    2022-01-27 23:57:42下载
    积分:1
  • 内有AES IDEA DES RSA BM算法。可以直接执行附有源代码。
    内有AES IDEA DES RSA BM算法。可以直接执行附有源代码。-within AES IDEA BM DES RSA algorithm. Can directly with the implementation of the source code.
    2022-03-23 13:19:41下载
    积分:1
  • 696518资源总数
  • 105873会员总数
  • 12今日下载