-
medo
设X[ 0 : n - 1]和Y[ 0 : n – 1 ]为两个数组,每个数组中含有n个已排好序的数。找出X和Y的2n个数的中位数。 编程任务 利用分治策略试设计一个O (log n)时间的算法求出这2n个数的中位数。 数据输入 由文件input.txt提供输入数据。文件的第1行中有1个正整数n(n<=200),表示每个数组有n个数。接下来的两行分别是X,Y数组的元素。结果输出 程序运行结束时,将计算出的中位数输出到文件output.txt中(Let X [0: n- 1] and Y [0: n- 1] for the two arrays, each array containing the n number has been sorted. 2n X and Y to identify the number of digits. programming tasks using the divide and conquer strategy try to design an O (log n) time algorithm to calculate this median number 2n. Data input by the input data provided input.txt file. The first line in the file has a positive integer n (n < = 200), that there are n numbers of each array. The next two lines are the X, Y array elements. The end result is output program runs, the calculated median output to file output.txt)
- 2021-03-22 16:29:16下载
- 积分:1
-
Course
本实例演示了利用DAO访问数据库的常用方法,并附带了所用的数据库course.mdb。(examples demonstrating the use of DAO Database Access commonly used methods, and the incidental use of the database course.mdb.)
- 2005-05-12 11:37:22下载
- 积分:1
-
Jiafei
用VC编写的WINDOWS程序 画了一个加菲猫的头像 并能通过按键改变其大小和图象变形(WINDOWS prepared using procedures VC painting a portrait of Garfield and can change its size keys and image distortion)
- 2009-05-23 16:29:35下载
- 积分:1
-
vc-sms
DTU短信接受发送测试,可用于测试DTU的接收发送功能(Send a test message to accept DTU)
- 2013-06-28 15:07:02下载
- 积分:1
-
DIBDisplay
MFC框架下的位图伸缩,图像读写,GDI,调色板,等编译成功,对于初学者很有用(The bitmap stretching under the MFC framework, image reader, the GDI palette, such as compilation is successful, very useful for beginners)
- 2013-05-12 13:10:18下载
- 积分:1
-
test2
应老师要求做的VB课后练习内容,这是第二个实验内容。(This is the second test.)
- 2013-11-06 16:32:09下载
- 积分:1
-
Source-Programming-Manual-V2.4
本手册详述于中电41所的1487、144x、146x系列信号发生器的编程方法。介绍SCPI语言,后面有VC例程(This manual describe 1487,144 x, 146x series signal generators programming methods. SCPI language is introduced, followed by VC routines)
- 2014-06-07 00:04:01下载
- 积分:1
-
Zigbee
Zigbee开发文档和常见案例 18B20可休眠温度采集方案快速搭建手册 串口透传方案快速上手指南(Zigbee )
- 2013-10-18 15:57:29下载
- 积分:1
-
kplk
说明: 一款一个益智类的手机游戏源码,可自己进行编译生成相应的安装文件(A puzzle class of mobile game source code, can be compiled to generate the corresponding installation files.)
- 2019-03-25 21:07:27下载
- 积分:1
-
xinhao
用来实现快速傅里叶变换FFt和卷积的计算。(Used to implement the fast Fourier transform the FFt and convolution calculation.)
- 2012-05-29 00:56:46下载
- 积分:1