-
c++扫雷 原代码
c++扫雷 原代码-c mine-source
- 2022-07-19 18:36:56下载
- 积分:1
-
vb程序自己创建一个新的可执行程序
vb程序自己创建一个新的可执行程序-vb own procedures to create a new executable
- 2023-04-16 16:05:04下载
- 积分:1
-
Description:
对整型有序关键码序列进行折半查找,待排序序列以数组存储。如果找到待查记录,返回找到的位置下标,并删除该关键码记录;如果没找到待查记...
Description:
对整型有序关键码序列进行折半查找,待排序序列以数组存储。如果找到待查记录,返回找到的位置下标,并删除该关键码记录;如果没找到待查记录,返回0,并将待查记录插入到适当位置,即该查找属于动态查找。输出查找过程中每一轮的low,mid,high 值,以及与给定值相比较的关键码值,并输出最后找到的位置,及变化后的数组。
注意:该数组为整型,数组中关键码存储位置为r[1]~r[n],r[0]留作它用,且关键码个数大于4.
Input Format:
第一行输入数组中记录个数n
第二行输入n个有序的整型关键码,以空格隔开
接下来输入三个待查关键码,每个关键码占一行
Output format:
对于每个关键码,分别输出:
找到给定值之前的每一轮的low,mid,high及相比较的待查找序列中的关键码,以空格隔开
接下来一行输出查找到的位置
接下来一行输出变化后的待查找序列
-Description:
The key codes for integers ordered sequence of binary search until the sorting sequence to an array of storage. If you find a complete set of records, returns to find the location of the next standard, and delete the key code is recorded if not find a complete set of records, returns 0, and a complete set of records inserted into the appropriate location, that is, the search was part of search. Find out the process for each one of the low, mid, high value, as well as compared to the value given the key code value and output of the last to find the locat
- 2023-05-15 19:40:03下载
- 积分:1
-
Reverse print for English articles, in accordance with the reverse line
从文件中读去,反向打印文本,针对英文文章,按行反向-Reverse print for English articles, in accordance with the reverse line
- 2023-08-04 23:35:03下载
- 积分:1
-
Game stone, scissors, fabric source, code, only more than 200 lines, new algorit...
游戏石头、剪子、布的源码,代码只有二百多行,算法新颖-Game stone, scissors, fabric source, code, only more than 200 lines, new algorithm
- 2023-09-08 09:55:03下载
- 积分:1
-
android游戏(塔防)
由于本人是安卓的初学者,所以借鉴了课本的例子做了给改动,与大家分享分享,这个游戏和保卫萝卜差不多。闯关这里是用数组的形式实现的,大家可以细看源码。欢迎大家来看!
- 2022-01-25 15:46:02下载
- 积分:1
-
C#连接OPC服务器
用winfrom做的连接OPC服务器的小程序,可以用于组态软件数据采集,开发环境:VS2010
- 2022-06-21 06:25:42下载
- 积分:1
-
Kconfig language exposition document
Kconfig language exposition document
- 2022-03-22 11:08:49下载
- 积分:1
-
这是一份完整的记事本测试文档,内含详细测试步骤已经规范的格式,可作学习参考之用...
这是一份完整的记事本测试文档,内含详细测试步骤已经规范的格式,可作学习参考之用-This is a complete test Notepad document, containing detailed steps have been standardized test format, can be used for study and reference
- 2022-03-03 13:25:38下载
- 积分:1
-
dshow+mfc来捕捉摄像头视频数据
在directshow架构下用mfc+vc6来开发,捕捉摄像头的视频数据流,可以进行一帧一帧数据的处理,进行保存,预览,效果处理
- 2022-04-17 19:42:06下载
- 积分:1