文件名称:pai-xu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:812byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
顺序表的结构没有给出,作为演示分治法这里从简顺序表取一整形数组数组大小由用户定义,数据随机生成。我们知道如果数组大小为 1 则可以直接给出结果,如果大小为 2则一次比较即可得出结果,于是我们找到求解该问题的子问题即: 数组大小 <= 2。到此我们就可以进行分治运算了,只要求解的问题数组长度比 2 大就继续分治,否则求解子问题的解并更新全局解以下是代码-e order of the table structure did not give a simple order form as a presentation divide and conquer method to take an integer array array size defined by the user, data is randomly generated. We know that if the array size is 1, you can directly give the results of size of 2, a comparative to the outcome, so we find the sub-problem of solving this problem: the array size <= 2. This is where we can divide and conquer operation, as long as the length of the array of problem solving than the two large, continue to divide and conquer, or to solve the subproblem solution and update the global solution of the following is the code
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pai xu.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.