登录
首页 » Visual C++ » medo

medo

于 2021-03-22 发布 文件大小:1KB
0 341
下载积分: 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
  • KTL
    说明:  从专业设备上读取数据图像,并对其进行分析的代码。(from professional equipment to read data from images and analysis of its code.)
    2005-09-17 11:17:51下载
    积分:1
  • template
    template 模版函数 函数模版 深入了解(template template template-depth understanding of the function function)
    2013-07-15 17:33:53下载
    积分:1
  • jiaobingbu
    集合的运算:交、并、补(难度系数:1.1) 全集:大写字母 ‘A’~’Z’ 要求实现以下功能: 1、集合的输入:自动去掉重复和非法的字符 2、集合的显示:输出集合的全部元素 3、输出一个给定集合的补集 4、输出两个给定集合的交集和并集 (jiao bing bu)
    2013-11-29 20:49:25下载
    积分:1
  • Hufferman
    使用哈弗曼编码技术进行数据压缩和解压缩,缺点在于只能用于文本(Havermann coding techniques using data compression and decompression, disadvantage is that the text can only be used)
    2010-01-03 19:23:10下载
    积分:1
  • distance_between_two_lines
    对于给定的两个线段,程序输出这两个线段之间的距离(For a given two line segments, the program output that the distance between two line segments)
    2009-03-25 16:04:31下载
    积分:1
  • Desktop
    调度问题的回溯算法,算法中的经典问题。问题描述:假设有n个任务由k个可并行工作的机器完成。完成任务i需要的时间为ti。试设计一个算法找出完成这n个任务的最佳调度,使得完成全部任务的时间最早。(Scheduling problem backtracking algorithm is the classic problem. Problem Description: Suppose there are n-task by the k-parallel machine can be completed. The time required to complete the task i is ti. Try to design an algorithm to find completing these n-best task scheduling, making the earliest time to complete all tasks.)
    2010-02-19 23:31:11下载
    积分:1
  • rfidreader
    rfid实例阅读程序,可实现超高频,高频,低频卡的读写( rfid实例阅读程序,可实现超高频,高频,低频卡的读写 RFID instance reading program, you can achieve ultra high frequency, high frequency, low frequency card read and write)
    2017-05-25 01:32:50下载
    积分:1
  • 696516资源总数
  • 106554会员总数
  • 12今日下载