CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - 生成随机数并排序

搜索资源列表

  1. zuiduanlujing.rar

    0下载:
  2. 对链表分段的函数,使用链表的长度信息。其次要求把归并排序的每一步过程都打印出来。自己构造一个链表类并实现,用于排序。另外生成随机数的类,Section of the list function, use the length of the message list. Second, requested that the process every step of mergesort are printed. Construct their own class and implement a li
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-02
    • 文件大小:384218
    • 提供者:paul lew
  1. vectoralist

    0下载:
  2. 练习vector和list的使用 定义一个空的vector,元素类型int,生成10个随机数插入到vector中,用迭代器遍历vector并输出其中的元素值。在vector头部插入一个随机数,用迭代器遍历vector并输出其中的元素值。用泛型算法find查找某个随机数,如果找到便输出,否则将此数插入vector尾部。用泛型算法sort将vector排序,用迭代器遍历vector并输出其中的元素值。将vector清空。 定义一个list,并重复上述实验,并注意观察结果。 -Exerc
  3. 所属分类:Data structs

    • 发布日期:2017-11-02
    • 文件大小:1086
    • 提供者:唐亮
  1. quicksort

    0下载:
  2. 快排的并行实现,使用openMP,程序自动生成随机数,分别使用单线程和多线程排序,并比较最后的结果-quick sort based on openMP
  3. 所属分类:MPI

    • 发布日期:2017-04-04
    • 文件大小:1273
    • 提供者:
  1. random_quicksort

    0下载:
  2. 生成10000(可修改)的随机数,快速排序,并记录时间-Generated 10000 (may be amended) of the random number, quick sort, and record the time
  3. 所属分类:CSharp

    • 发布日期:2017-04-07
    • 文件大小:975
    • 提供者:kylin
  1. Mergesort

    0下载:
  2. 采用随机数来生成要排序的内容,并使用模板,可以很方便的更改产生随机数的类型。-Used to generate random numbers to sort the contents, and the use of templates, you can easily change the type of random numbers generated.
  3. 所属分类:Data structs

    • 发布日期:2017-04-29
    • 文件大小:10976
    • 提供者:Allan
  1. guibingpaixu

    0下载:
  2. 修改对链表分段的函数,使用链表的长度信息。其次要求把归并排序的每一步过程都打印出来。自己构造一个链表类并实现,用于排序。另外生成随机数的类-Modify the sub-list function, use the length of the message list. Second, requested that the process every step of mergesort are printed. Construct their own class and implement a
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-01
    • 文件大小:358589
    • 提供者:paul lew
  1. paixu

    0下载:
  2. 程序可以使用七种排序算法,包括快速,希尔,推,简单选择等。对生成的随机数进行排列,并比较各种排序算法时间优劣-Program can use the seven ranking algorithms, including fast, Hill, push, simple choice. On the generated random numbers to be ranked, and compare the merits of time sorting algorithm
  3. 所属分类:Data structs

    • 发布日期:2017-03-29
    • 文件大小:232670
    • 提供者:于洋
  1. code

    0下载:
  2. (1) 生成n个[0,65535]以内的整数随机数,存入文本文件; (2) 将n个随机数从小到大排序,并显示结果。排序采用k桶法 (3)用函数编制混合同余的伪随机数发生器-(1) generate n-[0,65535] integer random number within, into a text file (2) n random numbers from small to large order, and displays the results. Sort by k B
  3. 所属分类:数据结构常用算法

    • 发布日期:2013-03-06
    • 文件大小:72963
    • 提供者:haha
  1. key

    1下载:
  2. 【问题描述】 多关键字的排序有其一定的实用范围。 例如:在进行高考分数处理时,除了需对总分进行排序外, 不同的专业对单科分数的要求不同,因此尚需在总分相同的情况下, 按用户提出的单科分数的次序要求排出考生录取的次序。 【基本要求】 (1)假设待排序的记录数不超过10000,表中记录的关键字数不超过5, 各个关键字的范围均为0至100。 按用户给定的进行排序的关键字的优先关系,输出排序结果。 (2)约定按LSD法进行多关键字的排序。 在对各个关键字进行排序时
  3. 所属分类:Data structs

    • 发布日期:2017-03-31
    • 文件大小:5075
    • 提供者:苏拉
  1. sort

    0下载:
  2. 两种排序算法实现,随机快拍和和并排序,随机快拍为生成随机数key-Two sorting algorithms, random snapshots and and and sort
  3. 所属分类:Data structs

    • 发布日期:2017-04-04
    • 文件大小:1600
    • 提供者:yyuze
  1. jxy

    0下载:
  2. 能够用键盘控制生成随机数 并排序。同时比较不同算法的时间-Can be controlled using the keyboard generates random numbers and sort. Compare different algorithms time
  3. 所属分类:Data structs

    • 发布日期:2017-11-09
    • 文件大小:1329
    • 提供者:蒋旭
  1. rankandsort

    0下载:
  2. 生成N=10^7个随机数,通过快速排序找到第N/4与第N/2大的数,并显示所耗时间。-N = 10 ^ 7 random number is generated quicksort find a large number of N/4 and N/2, and displays the time.
  3. 所属分类:Other windows programs

    • 发布日期:2017-11-18
    • 文件大小:206507
    • 提供者:黎冬园
  1. First_Test1

    0下载:
  2. 1、使用System.Array类的方法获取已知数组(数组元素为80,90,67,89,78,85,45,69,77,95)的维数、长度,并对数组排序、反转。 提示:Rank,Length,Sort(),Reverse() 2、 使用Random方法生成随机数。数组A中有8个互不相同的元素,数组B中有5个互不相同的元素,A和B中的数为100以内的正整数。编程产生数组C,C中包含在A中但不在B中的元素。 任意输入两个正整数a,b, 求a+b的和, a,b的取值范围为1—10100
  3. 所属分类:CSharp

    • 发布日期:2017-11-26
    • 文件大小:57172
    • 提供者:xiaobai66393
  1. GenerateRandArray

    0下载:
  2. 生成一百个1000以内的随机数,排序并输出到文件,以及计算实现过程时间-1000 less than one hundred generated random numbers, sorting and output to a file, and the calculation of the implementation process time
  3. 所属分类:Windows Develop

    • 发布日期:2017-05-22
    • 文件大小:6212547
    • 提供者:dongying
  1. Multivariate-random-number

    0下载:
  2. 生成多元正态分布的随机数,将其按列的形式放在一个矩阵中,并对其按行进行排序,然后记录数据排序后的大小位置,这在统计研究中有很重要的应用。-Multivariate normal distribution of the random number generator, which was placed in the form of a matrix of columns and rows to sort them, and then record the size of the position
  3. 所属分类:Other systems

    • 发布日期:2017-04-14
    • 文件大小:4563
    • 提供者:石文丽
  1. project2

    0下载:
  2. • 使用随机数生成两个数值序列并输出到屏幕,每个序列含有20个元素,每个元素的取值范围为[1, 20]; • 对这两个序列进行排序,将结果输出到屏幕; • 合并这两个序列,将产生的新序列输出到屏幕; • 计算合并序列中元素7的个数,将结果输出到屏幕; • 移除重复性元素,将产生的新序列输出到屏幕; • 逆转元素顺序后,将产生的新序列输出到屏幕 -• Use a random number
  3. 所属分类:Windows Develop

    • 发布日期:2017-04-26
    • 文件大小:320762
    • 提供者:王磊
  1. Second05

    0下载:
  2. 实验名称:操纵数值序列。 实验要求:使用随机数生成两个数值序列并输出到屏幕,并尽量使用stl已提供的功能来实现两组数值的排序、合并、找出某数值的个数、移除重复性元素、逆转排序等。-Name of experiment: manipulation of the numerical sequence. Experimental requirements: using the random number generated two numerical sequence and output t
  3. 所属分类:Other windows programs

    • 发布日期:2017-05-05
    • 文件大小:256000
    • 提供者:lili
  1. mfcrandom

    0下载:
  2. 基于MFC,生成用户端,能够根据要求产生随机数并保存出入栈的功能,还能实现排序,-based on mfc,get random data and save, push into stack or out of stack
  3. 所属分类:Compress-Decompress algrithms

    • 发布日期:2017-06-17
    • 文件大小:25629206
    • 提供者:千岁
  1. homewk8

    0下载:
  2. 创建生成100个互不相等的随机三位整数,并将它们存入一个数据文件mydt.dat中。从数据文件中读取所有数据,将这些数据按第二位构成数字的升序排列,如果第二位构成数字相等,则按第三位构成数字的降序排列,将排序结果输出到:一个数据文件mysd.dat文件和一个文本文件mysd.txt文件中。(Creates 100 randomly generated three bit integers that are not equal to each other and stores them in a
  3. 所属分类:Java编程

    • 发布日期:2017-12-22
    • 文件大小:6144
    • 提供者:袁困困
  1. rand class

    0下载:
  2. 生成指定数目的随机数并对这些数进行排序的简单程序(Generates a specified number of random numbers and sorts these numbers)
  3. 所属分类:数值算法/人工智能

    • 发布日期:2018-01-04
    • 文件大小:2065408
    • 提供者:aagainbeyond2
搜珍网 www.dssz.com