-
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
-
VTK3Dreconstruction
在vc++6.0下结合VTK开发的经典三维重建程序(In vc++ 6.0 under the classic combination of VTK development of three-dimensional reconstruction procedure)
- 2008-05-21 10:41:37下载
- 积分:1
-
VC-Ado-Oracle
本例子是在VC下用ADO链接ORacle数据库的一个实例,在界面中通过输入数据源名,用户名,密码,点击链接之后,若是成功,则会在listbox里显示所有的表,当双击某一个表时,则会在右边的listcontrol 中显示相应的表中数据。(this application is a good example to connect Oracle with ADO under the enviroment of visual C++ 6.0.After entering your datasource name,uer name,and your code ,click the connect button ,if no error,you will see all table of the datasource.the datas will show while you double click a table in the list box.)
- 2010-07-21 17:03:35下载
- 积分:1
-
VC_screen_bianan
VC++实现点击按钮屏幕变暗特效,值得一看!(VC++ Click the screen dimmed to achieve special effects, worth a visit!)
- 2011-05-25 06:07:17下载
- 积分:1
-
getIPaddress
通过此程序,可以获得本地计算机的IP地址,并以提示框的形式显示出来.(Through this process, access to the local computer' s IP address, and the form of prompt box is displayed.)
- 2009-05-07 14:27:16下载
- 积分:1
-
Win32Application
VC++获取到Windows开机运行的时间,不是开机时间,而是从开机后到现在的运行时间,也就是一次开机所运行的时间,如果关机了,可能就不准确了。(The VC++ get to the Windows boot running time is not boot time, but from the boot to the running time, which is the time you turn on the running time, shutdown, and may not be accurate.)
- 2013-04-24 17:46:46下载
- 积分:1
-
daoyoutu
C++实现校园导游系统。包括景点描述,增加、修改、删除等功能,计算最短路径、最佳路径等(C++ campus tour guide system. Of Attraction Description, increase, modify, delete, etc., to calculate the shortest path, the best path)
- 2013-05-21 17:13:12下载
- 积分:1
-
new_cli
rtsp视频流实时传输采集交互过程,h.264的rtp打包传输(rtsp vedio real time get response)
- 2014-02-24 19:46:18下载
- 积分:1
-
jxxfc1
介绍了如何将m文件转换成VC可调用的dll文件,在这章中介绍如何利用编译器将m文件转换成对应的CC++文件,并在VC中调用(on how to convert documents into m VC dll with the available documents, In this chapter, how to use the compiler to convert documents into m corresponding to the C C paper and called in VC)
- 2006-12-28 09:39:28下载
- 积分:1
-
Course
本实例演示了利用DAO访问数据库的常用方法,并附带了所用的数据库course.mdb。(examples demonstrating the use of DAO Database Access commonly used methods, and the incidental use of the database course.mdb.)
- 2005-05-12 11:37:22下载
- 积分:1