-
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
-
PMSMservo-control
永磁同步电机伺服控制系统程序设计,包括所有程序,采用空间矢量控制,三闭环,有需要开发伺服控制的朋友请联系我(Permanent magnet synchronous motor servo control system)
- 2013-04-27 17:02:58下载
- 积分:1
-
Server
一个基于MFC的网络通信SOCKET程序,实现了接收SOCKET数据的同时,发送SOCKET数据。(An MFC-based network communication SOCKET procedure to achieve the same time to receive SOCKET data, send SOCKET data.)
- 2010-08-30 14:14:46下载
- 积分:1
-
Button
MFC基本对话框里设置一个一显示就被禁用的按钮,小程序(MFC dialog box to set up a basic display to be disabled a button, a small program)
- 2010-12-29 11:25:54下载
- 积分:1
-
Sieral_Multithread
串口通信处理的多个线程需要协调运行,一个线程必须等待另一线程结束才能开始,在处理一个线程的同时必须把其余待处理的线程挂起等待,以减少其余待处理线程对CPU的资源占用,正处理的线程一旦处理结束则通过线程间的通信发出信号来击活被挂起的线程中的一个线程进入处理。(Serial communication processing necessary to coordinate multiple threads running, a thread must wait until the end of the beginning of another thread in a thread at the same time deal with the need to deal with the rest of the thread to be suspended waiting for in order to reduce the remaining lines to be processed way of CPU resources occupation, is the thread once the deal by the end of treatment inter-thread communication signal to hit live thread was hang a thread into the handle.)
- 2009-02-15 15:38:40下载
- 积分:1
-
VCtestExcel
VC++6.0操作EXCEL表格,VC,EXCEL(VC++6.0 to operate EXCEL spreadsheet, VC, EXCEL)
- 2009-06-29 17:37:05下载
- 积分:1
-
Rhapsody-0.1.8.tar
sourceforge历史版本完整下载: http://sourceforge.net/project/showfiles.php?group_id=202044 提供了基于b树索引算法的文件数据数据库模块详见storage/目录下面的 btree.c与pager.c container目录为常用的容器实现,如果rbtree avltree map heap list vector hashtable deque T树 B树, test目录为测试程序代码经过初步测试,比较稳定。 os_api:装一些操作系统相关的接口函数。已完成event mutex sem thread pipe相关的封装 advance_container:提供优先级消息队列,普通消息队列,定时器容器。 frame:目前提供了listerner(linux下版本,模仿ace的反应器)定时器 algorithm:补充了堆排序 与快速排序 所有代码均已在windows linux与uclinux + arm44b0平台下测试 欢迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com()
- 2008-06-02 15:52:38下载
- 积分:1
-
TCPIPclient
基于MFC的TCP/IP socket编程,一个客户端程序,适合初学者学习,开发平台vs2015(TCP/IP SOCKRT programing based on MFC,A client program ,very good for first learner
the develop platform is vs2015)
- 2016-09-23 13:01:14下载
- 积分:1
-
pcacement
vc,net编写的一个仿qq程序支持添加删除好友及头像选择等功能,()
- 2017-11-18 07:29:12下载
- 积分:1
-
opnet
OPNET上实现的原码,与卫星通信有关,有兴趣的可以下载(OPNET to achieve the original code, relating to satellite communications, are interested in can be downloaded)
- 2021-03-09 16:09:27下载
- 积分:1