-
C++语言对字符串对象进行各种操作的子程序,对运算符的重载,实现对字符串方便的各种操作。
C++语言对字符串对象进行各种操作的子程序,对运算符的重载,实现对字符串方便的各种操作。-C language string object to the operation of various subroutine, right Operators of heavy realize the convenience of a string operation.
- 2023-01-13 17:30:03下载
- 积分:1
-
问题描述:设有11种不问的钱币各若干张,可用这II种钱币产生许多不同的面值。试
设计一个算法,计算给定的某个面值,能有多少种不同的产生方法。例如有1分3张,...
问题描述:设有11种不问的钱币各若干张,可用这II种钱币产生许多不同的面值。试
设计一个算法,计算给定的某个面值,能有多少种不同的产生方法。例如有1分3张,2分 3张,5分1张,则能组成7分面值的方法有:3个1分+2个2分,1个1分十3个2分,2 个1分+1个5分,1个2分+1个5分共四种。
^编程任务:对于给定的II种不同钱币,编程计算某个给定面值能有多少种不同的产生
方法。-Problem Description: There should be 11 kinds of coins did not ask the number of beds available this II produced many different kinds of coin denominations. Try to design an algorithm to calculate a nominal value of a given that there can be many different returned. For instance, a sub-3, 2 points 3, 5 min 1, then can be composed of seven sub-par methods are: 3 1 min+2 2 points, a 1 minute 10 3 2 points, 2 1 points+1 5 points, a 2 min+1 5 minutes of four kinds. ^ Programming task: for a given II different coins, the calculation of a given program can have many different denominations is returned.
- 2022-11-21 20:10:03下载
- 积分:1
-
This a collection of algorithms for sorting and searching.
This a collection of algorithms for sorting and searching.
- 2023-04-13 06:05:04下载
- 积分:1
-
implementation
The existed tree implementation-implementation
- 2023-03-17 15:45:04下载
- 积分:1
-
这是一个用C++编写的代码,实现了最小堆和最小左偏树在插入删除元素性能方面进行比较....
这是一个用C++编写的代码,实现了最小堆和最小左偏树在插入删除元素性能方面进行比较.
-This is a preparation of the C code, the smallest and youngest sculpture tree in the left side inserted delete elements performance comparisons.
- 2023-08-22 23:35:03下载
- 积分:1
-
iweoq FJ vnxcjoiaeafag dfgadfxae
IWEOQ FJ VNXCJOIAEAFAG DFGADFXAE
- 2022-03-04 19:07:53下载
- 积分:1
-
phpMySQLAutoBackup能自动备份mysql数据库,并将导出的数据库(数据与结构)压缩成gzip格式然后用email通知你。phpMySQLAuto...
phpMySQLAutoBackup能自动备份mysql数据库,并将导出的数据库(数据与结构)压缩成gzip格式然后用email通知你。phpMySQLAutoBackup能够按设置每天/周定时备份,选择不同的表格来备份,当备份表格时,可以设置备份开始和结束的行数,以便让你能够有选择的备份一个巨大表格(数百万条数据)任一部分。
-phpMySQLAutoBackup can automatically backup mysql database, and export the database (data and structure) and then compressed into gzip format to inform you by email. phpMySQLAutoBackup able to set up a day/week timer backup, choose a different form to back up, when the back-up form, you can set the beginning and end of back-up the number of rows, so that you can choose to backup a large table (millions of data) any part of.
- 2022-02-07 21:54:44下载
- 积分:1
-
哈夫曼树解码和编码
哈夫曼树,基本的数据结构,用来编码和解码、用数组作为存储结构实现,
- 2023-04-13 11:00:11下载
- 积分:1
-
约瑟夫环 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个...
约瑟夫环 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。(有详细注解)数据结构学习的好例子-Joseph ring known n individuals (identified by serial number 1,2,3 ... n, respectively) were sitting around on a round-table. K from the number of people reported a few, a few of the m out of that person him from one of the next person to start off, a few m to another person out and so the law of repetition until around round-table All of the people out. (Detailed notes) data structure to learn a good example of
- 2023-06-20 15:30:04下载
- 积分:1
-
数 据 结 构 大型 作业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