登录
首页 » Visual C++ » medo

medo

于 2021-03-22 发布 文件大小:1KB
0 351
下载积分: 1 下载次数: 16

代码说明:

   设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。  编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n

文件列表:

medo.cpp,1629,2013-09-07

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

发表评论

0 个回复

  • guiji
    惯导系统轨迹生成器,能生成不同位置转动和舰船摇摆条件下的陀螺和加速度计数据,用于研究惯导系统(INS trajectory generator can generate different locations and ships swing conditions rotating gyroscope and accelerometer data, inertial navigation systems for research)
    2013-08-29 09:49:03下载
    积分:1
  • Csendmail
    这是一个实现用C语言发送电子邮件的小程序,可以把截获的键盘记录发送给监控的主机。(This is a realization of C language small program to send email, you can send intercepted keyloggers monitored host.)
    2013-07-28 19:00:36下载
    积分:1
  • caobiao
    基本7022芯片的抄表测试程序.代码与抄表终端一致(Basic 7022 chip meter test procedure. Code consistent with the meter reading terminal)
    2008-05-06 13:59:37下载
    积分:1
  • AdminTest
    to check the user has the administration rights is more complicated in windows 7, this is the sample to check it.
    2011-06-06 23:33:03下载
    积分:1
  • Triangle
    求解符号三角形问题.给定一行符号(比如+和-),按照同号为+异号为-的原则计算第二行直至下面的行,最后的一行只有一个符号,要求统计各个符号的个数.(Problem solving triangle symbols. Given his symbols (such as+ And-), in accordance with the same number is+ Different number- the principle of calculation of the second line until the following line, the last line there is only one symbol, all symbols requested statistics number.)
    2008-07-15 14:53:58下载
    积分:1
  • NovatelRange
    上传程序用于解析Novatel输出range 信息,解析结果已经验证。(The upload process is used to resolve the Novatel output range information, analytical results have been verified.)
    2013-05-17 16:24:27下载
    积分:1
  • ccode
    包括汉诺塔、杨辉三角、求根值等c程序,在VC++6.0运行没问题。(Including the Tower of Hanoi, Yang Hui triangle, the value of such c rooting process running in VC++6.0 no problem.)
    2010-12-15 08:41:27下载
    积分:1
  • control2
    这是一个在控制面板中增加自己软件所需配置属性的源程序。(This is an increase in the control panel software required for their configuration properties of the source.)
    2013-07-01 20:28:56下载
    积分:1
  • Queue
    队列的顺序定义,队列的调用算法等,队列的模板类及其实现(Defined in the order queue, queue calls algorithm, queue template class and its implementation)
    2013-07-17 15:42:54下载
    积分:1
  • changevideomode
    自己写的一个检测某个程序是否运行来改变系统分辨率的控制台程序(Writing own a Detect whether a program is running to change the system console resolution procedures)
    2009-02-26 15:45:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载