-
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
-
calculate
用MFC 开发的基于UDP协议的网络科学计算中心,比较适用于局域网内(Using MFC development agreement based on the UDP network Scientific Computing Center, more applicable to the LAN)
- 2009-02-02 23:05:47下载
- 积分:1
-
TCP_UDP_IRC
socket通信tcp实现的聊天室程序源码(tcp socket communication program source code to achieve the chat room)
- 2020-09-11 13:38:01下载
- 积分:1
-
USB-Switch
通过修改注册表实现USB接口的打开和禁用(USB interface s disable and open)
- 2014-03-15 22:44:14下载
- 积分:1
-
Regedit
C++实现的读写注册表的功能,可以直接读取某个键的值,设定某个键的值和删除某个键的值,非常方便。(Read and write C++ implementation of the registry function, you can directly read the value of a key, set the value of a key to delete a key value, very convenient.)
- 2013-10-27 19:41:13下载
- 积分:1
-
java_ga
利用java实现遗传算法,用来解决tsp旅行商问题。功能已测试(Using Java implementation, genetic algorithm is used to solve TSP traveling salesman problem. Function has been tested)
- 2015-12-26 18:01:38下载
- 积分:1
-
TestWincap
利用wincap直接与网卡通讯发送数据,千兆网卡效率达到100 ,全速!!!完全自定义数据包协议传输,数据每秒钟100M字节有木有!(wincap high speed data 100 MBytes/s=1000Mbits/s)
- 2015-11-12 14:08:31下载
- 积分:1
-
TravelAgency
旅行社问题,涉及到消费者,航班,旅店等的一些相关函数,作为微软的一些教学程序。(Travel Service, involving consumers, flights, hotels, etc. a number of related functions, as Microsoft' s some teaching programs.)
- 2010-12-31 17:01:50下载
- 积分:1
-
coders
使用D3D编写的简单开车游戏,新手可以看看,做的比较简陋,但应有的功能还是有的,包含开始界面,赛车选择,有背景音乐,可切换视角(Using D3D write simple driving game, beginners can see, the more humble, but its function or some, contains the start interface, the car selection, background music, can switch perspective)
- 2020-09-14 14:27:57下载
- 积分:1
-
services
windows服务编写,实现windows服务功能,对学习服务编程有帮助(windows service written windows service learning programming)
- 2012-08-23 11:41:40下载
- 积分:1