-
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
-
fit_line
//最小二乘法直线拟合
m_FoldList为关键点(x,y)的链表
拟合直线方程(Y=kX+b)
(//linear least squares fitting m_FoldList as the key point (x, y) of Chain fitting linear equation (Y = C/56 b))
- 2005-08-24 04:40:23下载
- 积分:1
-
MiniGIS
该程序可以读取坐标文件,画出中国地图,是一个很不错的vc程序,对初学者很有用。(The program can read the coordinates of the document, draw the map of China, is a very good vc procedures, very useful for beginners.)
- 2014-03-22 22:48:26下载
- 积分:1
-
Visual_C++_500_Samples
Visual.C++编程技巧精选500例随书附盘
第1章 消息框
1.消息框设置演示
第2章 常用控件
13.如何使用picturebox 控件浏览多种格式的图像?
12.如何使listcontrol控件支持整栏选择?
11.如何在列表框中自动装载磁盘文件列表?
10.如何显示载有richedit 控件的对话框?
9.如何限制编辑控件输入的字符类型?
8.如何在程序窗口中创建按钮控件?
7.按钮设置演示
6.如何使用滚动条控件?
5.如何使用进度条控件?
4.如何使用列表控件?
3.如何使用树形控件?
2.如何使用标签控件?
1.如何使用滑块控件?
第3章 通用对话框
8.如何在程序启动时弹出文件打开对话框?
7.如何在文件对话框中预览位图文件?
6.文件对话框文件夹操作演示
5.文件对话框使用演示
4.如何使用查找与替换对话框?
3.如何使用页面设置对话框?
2.如何使用颜色对话框?
1.如何使用字体对话框?
第4章 标题栏与菜单栏
26.如何在子菜单中记录历史文件?
25.如何确定顶层菜单所占的行数?
24.如何取消对菜单状态的限制?
23.如何取消应用程序菜单栏?
22.如何获取菜单栏高度?
21.如何在对话框类型的应用程序中加载菜单?
20.如何设计自定义快捷菜单?
19.如何创建一个弹出式菜单?
18.如何触发一个菜(Visual.C programming skills selected 500 cases with Disks Chapter 1 of a news box. Speech news box set Chapter 2 of said common control 13. how to use the picturebox control View Multi-Format Image? 12. How listcontrol Control supportive of the whole column choice? 11. How the list box automatically loading disk document lists? 10. How to show contains dialog richedit controls? 9. How to restrict the importation of editorial control character type? 8. How to create window control buttons? 7. Button to display six. How to use the scroll controls? 5. How to use the progress of control? 4. How to use control list? 3. How to use tree controls? 2. How to use the label control? 1. How to use slider controls? Chapter 3 common dialog 8. How commencement of the proceedings while the document open d)
- 2020-06-26 05:40:02下载
- 积分:1
-
rgb2gray
此文件为 在matlab中rgb2gray的方式(way of rgb2gray in matlab)
- 2011-05-02 10:48:14下载
- 积分:1
-
Receiver
GE PCI5565 PMC5565 PCIE5565反射内存网数据中断接收程序 接收中断 反射内存网
VMIC5565反射内存卡 实时仿真技术
PCI5565PIORC-110000(GE PCI5565 PMC5565 PCIE5565 reflective memory network data interrupt transmission program VMIC5565 reflective memory card real-time simulation technology)
- 2014-10-29 10:03:15下载
- 积分:1
-
FireCircle
* 这个机器人演示了如何用迭代的方法打击走直线的机器人(* This robot demonstrates how to use an iterative approach to combat a robot walk a straight line)
- 2009-11-07 16:39:39下载
- 积分:1
-
MFC-transfer-the-bmp-data
使用usb 传输一幅bmp像素数据,项目中用的,已经验证成功(使用usb 传输一幅bmp像素数据)
- 2011-10-12 17:12:17下载
- 积分:1
-
network_report
计算机网络的实验报告和源码,包含聊天软件的源玛(An experimental computer network reports and source code, including chat software source ma)
- 2009-01-03 16:51:44下载
- 积分:1
-
EfPiSoft-1.0_src.tgz
hierarchical Mesh Segmentation based on Fitting Primitives 配套源码(code for hierarchical Mesh Segmentation based on Fitting Primitives)
- 2013-12-07 05:01:48下载
- 积分:1