-
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
-
成绩管理系统
说明: 成绩管理系统,用于管理培训机构,学校等成员成绩。(Achievement management system, used to manage the performance of training institutions, schools and other members.)
- 2020-06-22 14:20:02下载
- 积分:1
-
PKI
pki 功能文档,对初学者有很大帮助,可以了解pki的相关功能(pki doc useful for beginner)
- 2009-02-13 15:57:49下载
- 积分:1
-
testVTK_ITK
VTK8.0,ITK联合编译测试代码,编译环境VS2017,采用C++语言,内含属性表,无需使用CMake进行编译,能够成功运行(VTK and ITK compile and test code)
- 2020-07-10 15:18:56下载
- 积分:1
-
dao_sample
dao例子(Dao example)
- 2002-04-19 09:18:04下载
- 积分:1
-
MultiFormPassMessage
Vs.net 在多个窗体间传递消息示例.(VS.net form in a number of examples of inter-impart information.)
- 2009-01-07 10:15:10下载
- 积分:1
-
dictionary
利用Trie树实现一个英语单词辅助记忆系统,完成相应的建表和查表程序(Trie tree using an English word to achieve auxiliary memory system, complete the appropriate procedures for the construction table and look-up table)
- 2010-05-05 20:53:32下载
- 积分:1
-
NS
说明: 基于元胞自动机的交通流模型 ns模型 C++(ns model, C++)
- 2014-02-07 14:57:32下载
- 积分:1
-
vc知识点
vc6.0一些基础的知识点,以及对读串口函数的进一步封装(Some basic knowledge points of VC6.0 and further encapsulation of read serial function)
- 2020-06-16 22:40:01下载
- 积分:1
-
cardfile
Micorsoft 卡片文件(crd)读写的DLL源码(The sourcecode of the DLL for reading and writing the Microsoft s card file)
- 2021-03-28 09:19:11下载
- 积分:1