-
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
-
组合下载器SCH-3-RENEW
说明: 有自己制作的下载器原理图,包含了stlinkv2,XDS100V3,USBBLASTER.原理图和封装,一款多功能下载器。(Have their own production downloader schematic diagram, contains stlinkv2, XDS100V3, USBBLASTER. Schematic diagram and encapsulation, a multi-function downloader.)
- 2019-02-28 17:27:16下载
- 积分:1
-
program
FFT A计权 倍频程分析 三分之一倍频程分析(F F T A w eight o c tave a n al o n e t hird o ctave)
- 2011-12-07 14:02:04下载
- 积分:1
-
基于C#的skyline二次开发案例
基于C#语言的skyline二次开发实例(Examples of Development of Skyline Based on C#)
- 2020-06-24 08:20:02下载
- 积分:1
-
lizi03
基于lucence实现自己的搜索引擎。基于.net平台。(lucence achieve example)
- 2014-03-29 20:51:40下载
- 积分:1
-
Golay_code
BFSK信号调制与解调,对加噪信号进行延迟差动处理,得到重构信号后,解调与初始信号对比。(BFSK Signal Modulation and Demodulation)
- 2019-02-20 20:06:16下载
- 积分:1
-
充电桩通讯(调试工具源码)
充电桩通讯(调试工具源码)
- 2019-10-09下载
- 积分:1
-
svm
基于支持向量机传感器故障诊断Matlab原程序( Fault Diagnosis Based on the SVM)
- 2021-05-14 15:30:03下载
- 积分:1
-
power
说明: 仪表 计量部分代码,采用ATMEL芯片,开发环境IAR(Water Meter Measurement and Display Code)
- 2020-06-22 08:00:02下载
- 积分:1
-
PSO1
说明: 粒子群算法事例,用以结果旅行商问题,采用简单的C语言完成,求相对最优的智能算法(This routine is created for solving TSP problem,using simple C language,find the best way to solve optimal problem.)
- 2019-11-16 09:19:00下载
- 积分:1