文件名称:find
介绍说明--下载内容均来自于网络,请自行研究使用
有n个整数(1<=n<=100)按由小到大顺序存放在一个数组中,输入一个数m,要求用折半查找法找出该数是数组中第几个元素的值。如果该数不在数组中,则输出“Not found.”
-There are n integers (1 <= n <= 100) by ascending sequence stored in an array, enter a number m, asked to use a binary search method to find the number of values in the array is the first of several elements. If the number is not in the array, the output "Not found."
-There are n integers (1 <= n <= 100) by ascending sequence stored in an array, enter a number m, asked to use a binary search method to find the number of values in the array is the first of several elements. If the number is not in the array, the output "Not found."
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.cpp
1.exe