登录
首页 » 数据结构 » 以高效率的方法查找一个数组中的第二大数,数组中的数可以相同.同时对各种可能发生的错误返回相应得错误代码。...

以高效率的方法查找一个数组中的第二大数,数组中的数可以相同.同时对各种可能发生的错误返回相应得错误代码。...

于 2022-04-24 发布 文件大小:599.00 B
0 121
下载积分: 2 下载次数: 1

代码说明:

以高效率的方法查找一个数组中的第二大数,数组中的数可以相同.同时对各种可能发生的错误返回相应得错误代码。-find second max number in a high effective method.The number in the array could be the same.meanwhile ,the program return special error code

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 大型 作业3.1输入一个列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出果;3.3计算二叉排序树T的平均查找长度, 输出果...
    数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
    2022-04-09 01:41:30下载
    积分:1
  • libaly为OrCAD 16.2
    libaly for orcad 16.2
    2023-04-30 12:40:13下载
    积分:1
  • 一个关于公式分析得java小程序,内含全部源代码和接口的详细使用说明,对于学习的朋友来说,有一定的研究价值。...
    一个关于公式分析得java小程序,内含全部源代码和接口的详细使用说明,对于学习数据结构的朋友来说,有一定的研究价值。-on a formula of good things java small program that contains all the source code and interface use the detailed, data for studying the structure of a friend, a certain value for research.
    2023-06-25 14:35:04下载
    积分:1
  • 使用输入的端口的串行传输
    该代码由 proteus 8 示意图与 PIC C 编译器的代码组成。串行数据时转移到虚拟终端,输入的端口设置为高。其基本的代码。
    2022-03-15 09:35:02下载
    积分:1
  • 怎样判断一个指针指向的对象是否已经被析,很好的学习C++的资料...
    怎样判断一个指针指向的对象是否已经被析构,很好的学习C++的资料-how to decide a pointer at whether the target has been Destructors, good learning C information
    2022-01-27 12:05:23下载
    积分:1
  • SQL入门使用与高级使用篇。 SQL入门使用与高级使用篇。
    SQL入门使用与高级使用篇。 SQL入门使用与高级使用篇。-SQL entry with the use of the use of the High chapter. SQL entry with the use of the use of the High chapter.
    2022-06-22 04:07:35下载
    积分:1
  • 日本ATR(Advanced Telecommunication Research InstituteInternational)的专门用于表情识别研究的基本表...
    日本ATR(Advanced Telecommunication Research InstituteInternational)的专门用于表情识别研究的基本表情数据库JAFFE,该数据库中包含了213幅(每幅图像的分辨率:256像素×256像素)日本女性的脸相,每幅图像都有原始的表情定义。表情库中共有10个人,每个人有7种表情(中性脸、高兴、悲伤、惊奇、愤怒、厌恶、恐惧)。 JAFFE数据库均为正面脸相,且把原始图像进行重新调整和修剪,使得眼睛在数据库图像中的位置大致相同,脸部尺寸基本一致,光照均为正面光源,但光照强度有差异。由于此表情数据库完全开放,且表情标定很标准,所以现在大多数研究表情识别的文章中都使用它来训练与测试。-Japan ATR (Advanced Telecommunication Research InstituteInternational), devoted to the basic expression of facial expression recognition research database JAFFE, the database contains 213 (each image resolution: 256 pixels × 256 pixels) Japanese women face relative to each piece of expression of both the original definition of the image. Expression library, a total of 10 individuals, each person has seven kinds of expressions (neutral face, happy, sad, surprise, anger, disgust, fear). JAFFE face database are positive phase, and the original image is re-adjust and trim, making the eye the location of the image in the database similar to the face basically the same size, ligh
    2023-04-21 12:40:03下载
    积分:1
  • “四皇后算法”的C语言实现,测试通过的,快来下载啊!
    “四皇后算法”的C语言实现,测试通过的,快来下载啊!-" Four Queens algorithm" C-language implementation, test passed, Come download ah!
    2022-02-22 05:55:31下载
    积分:1
  • 插入排序的直接改进算法
    插入排序的直接改进算法--希尔排序算法.将用户输入的一列数按递增顺序排好并输出.以及直接插入冒泡选择排序算法的实现-inserted directly improve the ranking algorithm-- Hill sorting algorithms. Users input a few in increasing order to arrange and output. Bubble and direct insertion Selection Sorting Algorithm Implementation
    2023-05-28 04:05:04下载
    积分:1
  • 这是程序是老师提供的源程序,其中包含了方程的离散等解法 值得一学习。...
    这是程序是老师提供的源程序,其中包含了方程的离散等解法 值得一学习。-This is the program source code is provided by teachers, including the discrete equations method, etc. It is worth learning.
    2022-01-25 14:33:52下载
    积分:1
  • 696516资源总数
  • 106428会员总数
  • 7今日下载