搜索资源列表
分别用蛮力法、分治法、减治法求a的n次方
- 分别用蛮力法、分治法、减治法求a的n次方,并比较时间-Respectively with brute force method, partition method, reduce the power comes for a n, and more time
fenzhifa.rar
- 分治法的基本思想,掌握递归程序编写方法;使用分治法编程,求解线形序列中第k小元素。,Separation of the basic ideas, grasp the recursive programming methods the use of sub-rule law programming, solving linear sequence of the first k small element.
1
- 用分治法求第k小元素 输入:程序从标准输入读入数据,第一行是一个整数n (1=<n<=100000)表示元素的个数,接下来的n行中每行有一个整数。最后一行是k,就是我们要找的第k小元素。 -Method used divide and conquer a small element of k-input: program read from standard input data, the first line is an integer n (1 = <n<
fenzhifa
- 分治法求数组中最大值和最小值,与普通方法比较-Divide and conquer method for the maximum and minimum values in the array, compared with the conventional method
zuoye5
- 二分检索(分治法)给定递增整数序列L,其大小为n,要求使用二分查找法查找任意元素的位置k(序列中第几个)。-Binary search (divide and conquer) given increasing sequence of integers L, and its size is n, and requires the use of binary search method to find the location of any element k (sequence of sever
zuoye6
- 矩阵乘法(分治法) 设A 和 B 是两个n * n阶矩阵,求它们两的乘积矩阵C。-Matrix multiplication (divide and conquer) Let A and B be two n* n order matrix, find the product of their two matrix C.
juzheng
- 矩阵乘法(分治法) 设A 和 B 是两个n * n阶矩阵,求它们两的乘积矩阵C。-Matrix multiplication (divide and conquer) Let A and B be two n* n order matrix, find the product of their two matrix C.
zuoye7
- 第k小元素(分治法) 给定一个线性序列集,要求求出其中指定的第K小的数的值和位置.如给定n个元素和一个整数i,1≤i≤n,输出这n个元素中第i小元素的值及其位置;-First k small element (divide and conquer) Given a set of linear sequence, where the specified requirements determined the K value and the small number of locations, s
MaxMinDemon
- 计算一个数组中的最大最小值,分别使用直接计算和分治法计算,利用C#实现。-Maximum and minimum calculation in an array, were calculated using the direct calculation and divide and conquer, the use of C# implementation.
gui-bing-pai-xu
- 归并排序是建立在归并操作上的一种有效的排序算法,该算法是采用分治法(Divide and Conquer)的一个非常典型的应用。将已有序的子序列合并,得到完全有序的序列;即先使每个子序列有序,再使子序列段间有序。若将两个有序表合并成一个有序表,称为二路归并。-Merge sort is established in the merge operation a effective sorting algorithm. The algorithm is using the divide and co
fenzhifazuijnidiandui
- 分治法的应用,分治法求最近点对源码,编译无措,算法基础实验-The application of the method, divide and conquer method for the nearest point on the source code, compile flawless, algorithm based on the experiment
DAZHENGSHU-
- 分治法大正数运算支持1000位以内运算,不过自己可以很方便地改长度-Divide and conquer positive operation within 1000 bit support operations, but you can easily change the length of