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

Set T [0: n

于 2022-11-25 发布 文件大小:1.02 kB
0 274
下载积分: 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 个回复

  • 这是一个VC调用VB控件的实例,通过这个实例可以让您了解如何在VC中去调用用VB开发的控件。相信对您一定有帮助的。...
    这是一个VC调用VB控件的实例,通过这个实例可以让您了解如何在VC中去调用用VB开发的控件。相信对您一定有帮助的。-This is an instance of VC call the VB controls, through this example allows you to learn how to use VB to call the VC in the development of controls. I believe you must have help.
    2022-07-14 03:15:00下载
    积分:1
  • C/S模式下的聊天工具
    简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信简单的c语言程序实现客户端和服务器的通信
    2023-06-05 13:55:06下载
    积分:1
  • 如何使用制表符动态除和删除的定义…
    怎样使用自定义的Tab类 动态增加和删除TabCtrl中的标签-how to use the definition of the category of Tab dynamic addition and removal of the label TabCtrl
    2023-04-14 16:25:04下载
    积分:1
  • delphi串口通信控制器
    delphi串口通信控制器-Serial Communication Controller
    2022-07-24 04:12:03下载
    积分:1
  • GL的配置头文件,其中包括各种.h文件,对于图像图形会很有用的。...
    GL的配置头文件,其中包括各种.h文件,对于图像图形会很有用的。-GL" s configuration header file, including all types. H file, for image and graphics will be very useful.
    2022-09-05 22:05:03下载
    积分:1
  • 一个用VB编写的3D界面的计算器,功能比较多,比Windows自带的计算器强大。...
    一个用VB编写的3D界面的计算器,功能比较多,比Windows自带的计算器强大。-a VB prepared by the 3D interface calculators, more functional, than Windows built-in calculators powerful.
    2022-10-05 01:15:03下载
    积分:1
  • 超炫的OFFICE 2007 界面控件
    超炫的OFFICE 2007 界面控件,可以用来定制开发的软件界面。
    2022-06-21 14:10:03下载
    积分:1
  • 2812试验实例,可以让大家掌握29202的学习方法
    2812试验实例,可以让大家掌握29202的学习方法-2812 test case, allowing you to master the learning method 29202
    2022-02-21 04:57:05下载
    积分:1
  • 获得硬件(硬盘,CPU等等)信息的好类,简单易用
    获得硬件(硬盘,CPU等等)信息的好类,简单易用-access hardware (hard disk, CPU, etc.) a good type of information, easy to use
    2022-04-17 17:24:53下载
    积分:1
  • think it is not on the task bar shows the time is too occupied space. This is my...
    是不是觉得任务栏上的时间显示太占用空间了,这是我为此而写的一个程序.启动后,将在左上角出现一个显示时间的小方框.你可把它拖动到任何地方,右击将显示快捷菜单,隐藏后在任务栏右边显示一个小图标,移动鼠标到小图标上,将显示时间,日期等信息,右击显示的快捷菜单,可选择重新显示,关机等操作,非常方便好用- Is thought on the duty fence time demonstrated too took the space, this was I a procedure which wrote for this After the start, in on the left angle will appear demonstration time the small square You may drive it assume a post what place, right will strike demonstrated the quick menu, after the hideaway right side the duty fence demonstrated a small chart sign, will move the mouse to the small chart sign in, will demonstrate the time, information and so on date, right will strike the demonstration the quick menu, might choose redemonstrated, operation and so on Guan Ji, extremely will facilitate easily to use ,Visual Basic,其他小程序/Other windows programs -think it is not on the task bar shows the time is too occupied space. This is my purpose to write a procedure. after commencement, in the upper left corner, there will be a show that the sm
    2022-03-20 09:01:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载