-
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
-
MFC_SOCKET
实现局域网内的通讯。类似于QQ聊天室可以群聊(Communication within a LAN.)
- 2011-11-19 09:43:41下载
- 积分:1
-
FillRegion
说明: VC++填充区域图像小实例,将规定区域填充成其它颜色,与图像处理紧密相关,有需要的编译一下。(VC++ fills the regional image of small examples, will provide area filling into other colors, and image processing is closely related to the need to build what.)
- 2010-03-31 21:49:15下载
- 积分:1
-
suijishuiwenxue
关于随机水文学的使用教材,便于读者们的自学(About the use of stochastic hydrology textbook, easy to readers who self-)
- 2013-09-22 10:08:32下载
- 积分:1
-
flower-word
这是一个简单的花指令程序,里面的花指令是用汇编写的,使用的时候请把注释取消掉就可以了。虽然添加了花指令,但是程序一样可以运行,如果可以的话你可以查看添加花指令前后的反汇编,推荐使用工具OD。
程序使用VC++写的,但是VS也可以打开。(This is a simple flower instruction program, which flower instruction is written in assembler, use the time to comment, please cancel it. While adding a flower instruction, but the program can still run, if you can, then you can see the flower add disassembly instructions before and after the recommended tool OD. Program uses VC++ write, but can also open VS.)
- 2014-01-03 14:21:50下载
- 积分:1
-
oead
Source code 按i2c时序读写寄存器(Source code read and write registers according to i2c sequence)
- 2018-12-26 09:48:34下载
- 积分:1
-
NXGJ
公交的定票系统,可以选站名,路线还有其他一些功能(ABOUT BUS)
- 2013-09-08 12:56:22下载
- 积分:1
-
Demo
在对话框中加载菜单,VC++精选编程源码,很好的参考。(In the dialog box to load the menu, select VC++ programming source code, a good reference.)
- 2013-12-03 09:27:56下载
- 积分:1
-
app
18B20超声波驱动的测试文件,可以精确的显示到小数点后1位的温度(18 b20 ultrasonic drive test files, can be accurate to 1 decimal places of the temperature)
- 2014-04-18 21:55:46下载
- 积分:1
-
F320UsbTest
说明: USB device的PC机测试程序,可以通过设置buffer的大小来测试buffer对USB传输速度的影响。(USB PC device testing procedures can set the buffer size to test buffer for the USB transmission speed impact.)
- 2005-12-31 09:22:17下载
- 积分:1