文件名称:5478
介绍说明--下载内容来自于网络,使用问题请自行百度
编写查找程序search,功能如下:给定任意有序数列,然后输入任意一数,用折半查找法找出该数在数列中的位置,若数列中有此数,则返回该数在数列中所在的位置,若数列中无此数,则返回-1 把给定值y插入到有序数组a(由大到小)中,插入后,数组中的数仍然有序 用递推法求解:一串字符以问号“?”结尾,顺序读入后反向输出,且统计其中字符的个数-prepare you search procedures, functions as follows : Given a series of arbitrary order, then enter an arbitrary number, using binary search method to find the few series in the position, if the series is this, Return of the few series in the location, if the series has been no such number, -1 is returned will be distributed to value y orderly array inserted into a (decreasing), insert after The array is an orderly with a few recursive method : a bunch of characters with a question mark "?" The end of the order after reading the reverse output and statistics on the number of characters
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 Microsoft Word 文档.doc
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.