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

Set T [0: n

于 2022-05-27 发布 文件大小:6.74 kB
0 96
下载积分: 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 个回复

  • 图书馆管理系统
    完整的图书馆管理系统 联合国 library.sql 它在你这个 SQL ServerMSSQLdataLibrary_Data.MDF 中创建库 db 如果您的服务器安装在一些其他位置请更改路径 安装 db 运行后的代码和你准备运行该项目。 或从 debug.zip 文件解压后运行 LibraryManagement exe Word 文档库可以提到的屏幕截图
    2022-05-28 19:44:00下载
    积分:1
  • vs2013磁盘遍历
    资源描述利用vs2013快速实现磁盘遍历,可以很好的理解磁盘结构,嵌入式开发时也可以借鉴
    2022-05-13 05:36:51下载
    积分:1
  • Decomposition and reconstruction example 1
    Decomposition and reconstruction example 1
    2022-11-28 01:35:03下载
    积分:1
  • This is a Maze algorithm C++ Source must be given the map width, height, as well...
    这是一个走迷宫算法的C++源程序,必须给出地图的宽度、高度,以及入口和出口坐标作为输入。-This is a Maze algorithm C++ Source must be given the map width, height, as well as import and export of coordinates as input.
    2022-01-26 15:07:38下载
    积分:1
  • the book is certain to have Visual C based on the application prepared by the re...
    本书主要是为具有一定Visual C++应用基础的读者编写的,全书通过150个实例,全面、深入地介绍了利用Visual C++ 6.0开发应用程序的常用方法和技巧。全书共分为6章,主要讲解了Visual C++.net中界面效果、图形图像处理、文件与系统功能控制、控件应用与MFC编程、数据库开发等内容。这些实例简单实用、典型性强、功能突出,很多实例使用的技术可以解决一类问题,读者在掌握实例中的技术或技巧后,使用这些技术可以试着实现更复杂的功能、应用到更多方面。-the book is certain to have Visual C based on the application prepared by the reader, the book by 150 examples, comprehensive, in-depth introduced to the use of Visual C 6.0 application procedures commonly used methods and techniques. The book is divided into six chapters, mainly on the Visual C. Net interface effects, graphics and image processing, document control and system functions, applications and controls MFC programming, database development and other content. These simple and practical examples, the typical strong, prominent features, many examples of the use of technology to solve a problem category, readers grasp examples of technology or skills, the use of these techniques may try to achieve more complex functions, applications to a wider range
    2023-01-11 16:55:04下载
    积分:1
  • 一个比较好和干净的process killer VC++ 例子
    一个比较好和干净的process killer VC++ 例子-A relatively good and clean process killer VC++ Example
    2022-05-27 04:25:33下载
    积分:1
  • Spare time, using VC made a small program is VC SQL server mode, the program con...
    工作之余,用VC作了一个小程序,是VC SQL server模式的,程式内容比较简单,主要设及以下内容: 1、窗口如何分割; 2、多视图之间如何通信; 3、列表视图的操作及事件处理; 4、树形控件的操作及事件处理,利用递归根据数据库动态生成目录; 5、实现主从表的显示; -Spare time, using VC made a small program is VC SQL server mode, the program content is relatively simple, the main set and the following: one, how the window segmentation 2, multi-view of how communication 3, list view operation and event handling 4, tree controls the operation and events that deal with the use of recursive dynamically generated according to the database directory 5, realize the main display from the table
    2022-09-27 02:25:03下载
    积分:1
  • 模仿dos下的dir命令,自己实现显示。利用 tc2.0实现。
    模仿dos下的dir命令,自己实现显示。利用 tc2.0实现。-imitate the dir order to achieve their own shows. Use tc2.0 achieve.
    2022-12-01 20:40:02下载
    积分:1
  • 获得本机ip地址,网络编程
    获得本机ip地址,网络编程-to this machine ip address, Network Programming
    2022-02-21 05:18:19下载
    积分:1
  • 画曲线图
    应用背景CChart is a powerful plotting tool for 2D data visulization in C++ interface, with interaction for mouse and keyboard. Please read the file "DocumentUserguide.chm" for detailed infomation. 关键技术This is fully redistrubution version, with many demonstration projects, including Win32API, MFC and WTL samples. If any problems, please contact author by email: baita00@yahoo.com.cn The author assumes no responsibility for the use or reliability of his software.
    2023-07-17 09:40:07下载
    积分:1
  • 696518资源总数
  • 104544会员总数
  • 20今日下载