搜索资源列表

  1. java

    0下载:
  2. 求一维int型数组A中元素的最大值,最小值,并将并将其输出;编写打印三个矩形的程序;-Seeking a one-dimensional array of type int elements maximum, minimum, and and outputs writing a program to print three rectangular
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:朴飞雪
  1. sub-sequence

    0下载:
  2. 首先开设一个空间比较大的数组,从数组尾部开始。比较最后一个数和最 初设置在数组中的一个最大值,使得最小子序列及最小子序列初始化。记录在当前位置的最小子序列数,接着,继续与在其前面相邻的数进行比较。如果后者大于前者,者比较二者携带记录的最小子序列数的大小,如果后者持有的最小子序列数大于前者,则以后者为基准,最小子序列保持不变。反之,则将后者的子序列数自加一,将其改为前所持有的最小子序列数。继续重复前面的动作,最后得出最长不下降子序列的
  3. 所属分类:其他小程序

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:刘善梅
  1. ArrayInput

    0下载:
  2. 个人原创代码:编写Java Application程序, 从命令行参数输入10个整数并保存在数组中,求数组中最大、最小、数据的和、平均值。-Personal original code: write a Java application program, enter 10 integers from the command line parameters and stored in the array, find an array of
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:李瑞
  1. SeqList

    0下载:
  2. 针对带附加头结点的单链表,试编写下列函数。 (1)定位函数Locate:在单链表中寻找第i个结点。若找到,则函数返回第i个结点的地址;若找不到,则函数返回NULL。 (2)求最大值函数max:通过一趟遍历在单链表中确定值最大的结点。 (3)统计函数number:统计单链表中具有给定值x的所有元素。 (4)建立函数create:根据一维数组a[n]建立一个单链表,使单链表中各元素的次序与a[n]中各元素的次序相同,要求该程
  3. 所属分类:数据结构常用算法

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:zby
  1. max_number_stream

    0下载:
  2. 得到一个整数数组中连续的相加最大的数字组合-get the max number stream from a int array
  3. 所属分类:Windows编程

    • 发布日期:2024-04-28
    • 文件大小:396288
    • 提供者:观月
  1. cPP

    1下载:
  2. C++编程——从键盘上输入10个整数,存放在一维数组中,请编程输出其中的最大元素、最小元素的值以及它们的下标。-C++ programming- 10 integer input from the keyboard and stored in the one-dimensional array, the programming output of which the largest element, the minimum value
  3. 所属分类:Windows编程

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:李玉
  1. 8.13

    0下载:
  2. 设计一个名为Location的类,定位2维数组中的最大值及其位置。-The design of a class called Location, to locate the maximum value and its position in the 2-dimensional array.
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-04-28
    • 文件大小:5120
    • 提供者:kevin
  1. 7.13

    0下载:
  2. 返回二维数组中的最大元素的位置 public static int[] locationLargest(double[][] a)-The Back the location of the largest element in the two-dimensional array public static int [] locationLargest (double [] [] a)
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-04-28
    • 文件大小:3072
    • 提供者:kevin
  1. ex

    0下载:
  2. 设计一个函数,其功能是同时求得长度为20的整型数组所有元素中的最大值、最小值和平均值。并用相应的主函数对其进行测试,测试数组可以用随机数填充或者自行定义数据。-The design of a function, its function is to obtain the length of the maximum, minimum and average 20 integer array element. And its main fu
  3. 所属分类:其他小程序

    • 发布日期:2024-04-28
    • 文件大小:4096
    • 提供者:chen
  1. Microsoft-Word-

    0下载:
  2. 2、 下面的程序中,调用了findmax()函数,该函数寻找数组中的最大元素,将该元素的下标通过参数返回,并返回其地址值,编程实现findmax()函数。-2, the following program, called findmax () function, the function to find the largest element in the array parameter returns the subscr ipt o
  3. 所属分类:汇编语言

    • 发布日期:2024-04-28
    • 文件大小:4096
    • 提供者:zengsuisui
  1. 1

    0下载:
  2. 用递归法求一组数组中的最大值,有较好的的性能-Recursive method for a group of maximum value in an array, a better performance
  3. 所属分类:系统编程

    • 发布日期:2024-04-28
    • 文件大小:4289536
    • 提供者:chenwei
  1. 12

    0下载:
  2. 对快速排序C++实现,求数组中的最大值或最小值都可。-For quick sort C++ achieve, find the maximum or minimum value in the array can be.
  3. 所属分类:其他小程序

    • 发布日期:2024-04-28
    • 文件大小:4470784
    • 提供者:chenwei
  1. MaxMin

    0下载:
  2. 算法设计与分析 分治法求数组中的最大最小值-Divide and conquer algorithm design and analysis method for the minimum and maximum values ​ ​ in the array
  3. 所属分类:其他行业

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:
  1. viviom

    0下载:
  2. 设计一个名为Location的类,定位二维数组中的最大值及其位置。这个类包括公共的数-Design of a class called Location, location of the maximum two-dimensional array and its location. This class includes a number of public
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-04-28
    • 文件大小:113664
    • 提供者:jiejie
  1. Post-Office

    0下载:
  2. 算法设计与分析中邮局选址问题。 select(int[] array, int begin, int end, int middle)将n个输入元素划分成n/5个组,每组5个 元素,只可能有一个组不是5个元素。用任意一种排序算法,将每组中的元素排好序,并取出每组的中 位数,共n/5个。找出这n/5个元素的中位数。如果n/5是偶数,就找它的2个中位数中较大的一个。 以这个元素作为划分基准。在调用时,只需要将middl
  3. 所属分类:控制台(字符窗口)编程

    • 发布日期:2024-04-28
    • 文件大小:168960
    • 提供者:
  1. IO-(2)

    0下载:
  2. *使用select函数可以以非阻塞的方式和多个socket通信。程序只是演示select函数的使用,即使某个连接关闭以后也不会修改当前连接数,连接数达到最大值后会终止程序。 1. 程序使用了一个数组fd,通信开始后把需要通信的多个socket描述符都放入此数组 2. 首先生成一个叫sock_fd的socket描述符,用于监听端口。 3. 将sock_fd和数组fd中不为0的描述符放入select将检查的集合fdsr。 4
  3. 所属分类:Linux/Unix编程

    • 发布日期:2024-04-28
    • 文件大小:3072
    • 提供者:辰枫
  1. Assembly-language-and-maxium

    0下载:
  2. 数据段中已定义了一个有N个字数据的数组M,试编写一程序求出M中绝对值最大的数,把它放在数据段的M+2n单元中,并将该数的偏移地址存放在M+2(n+1)单元中。-Data segment has defined an array of M N-word data, try to write a procedure to derive the maximum number of M in absolute value, put it in
  3. 所属分类:汇编语言

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:倪莹
  1. Implemention3

    0下载:
  2. 该算法提供一种快速的在数组中查找最大值以及最小值的方法,从算法的角度上改进了其时间复杂度和空间复杂度,具有相对较好的性能。-The algorithm provides a fast method to find the maximum and minimum values ​ ​ in the array, improving its time complexity and space complexity of
  3. 所属分类:数据结构常用算法

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:chenhm
  1. Maximum-Subarray

    0下载:
  2. 求一个数组中的连续的和最大的子数组。采用滑动窗口解决。sum 如果小于0,置为0,再加上当前值。然后再与max相比,取大的-Seeking a continuous array and the largest sub-array. Sliding window resolved. If the sum is less than 0, set to 0, plus the current value. Then compared to t
  3. 所属分类:JSP源码/Java

    • 发布日期:2024-04-28
    • 文件大小:1024
    • 提供者:achun
  1. saddle-point

    0下载:
  2. 找出一个二维数组中的鞍点,即该位置上的元素在该行上最大,在该列上最小,也可能没有鞍点。(假设是4行5列)-Find a two-dimensional array of saddle point, the largest element of the position in the column on the smallest on the line, it may not have a saddle point. (Assumed t
  3. 所属分类:C#编程

    • 发布日期:2024-04-28
    • 文件大小:176128
    • 提供者:于玺
« 1 2 3 4 56 7 8 9 10 »

源码中国 www.ymcn.org