-
如何分离一个顺序表里的0元素和非0元素?本程序展示了三种高效算法并比较他们之间的性能...
如何分离一个顺序表里的0元素和非0元素?本程序展示了三种高效算法并比较他们之间的性能-How to separate 0 and non-0 element in a squencial list? The program shows three effective algorithm and compare their performances.
- 2022-03-12 05:02:42下载
- 积分:1
-
MST_Kruskal
最小生成树 kruskal算法, 联通图,最短路径(Kruskal minimum spanning tree algorithm, Unicom map, the shortest path)
- 2021-04-15 11:08:54下载
- 积分:1
-
数据结构中排序的实例分析,可供有兴趣的朋友参考学习
数据结构中排序的实例分析,可供有兴趣的朋友参考学习-Sort of data structure example of analysis, available to interested friends refer to learning
- 2023-04-12 23:20:02下载
- 积分:1
-
used to achieve stack operation. The program is the stack into the stack and sta...
用链表实现栈的操作.该程序有栈的进栈和出栈操作.很简单.这是本人第一次上传程序源代码,如有什么不足之处还望各位多多海涵.-used to achieve stack operation. The program is the stack into the stack and stack up operation. Very simple. This is the first time I uploaded the source code, if there are any deficiencies Agency also look to a lot Haihan.
- 2022-05-08 05:26:50下载
- 积分:1
-
数据结构最小生成树
数据结构最小生成树-minimum spanning tree data structure
- 2023-09-05 01:40:04下载
- 积分:1
-
err
魔王语言解释
[问题描述]
有一个魔王总是使用自己的一种非常精练而又抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的:
(1) α 转换为 β1β2…βm
(2) (θδ1δ2…δn) 转换为 θδnθδn-1… θδ1θ
在这两种形式重,从左到右均表示解释。试写一个魔王语言的解释兄,把他的话解释成人能听得懂的话。
[基本要求]
用下述两条具体规则和上述规则形式(2)实现。设大写字母表示魔王语言的词汇;小写字母表示人的语言词汇;希腊字母表示可以用大写字母或小写字母代换的变量。魔王语言可含人的词汇。
(1)B 转换为 tAdA
(2)A 转换为 sae
[测试数据]
B(exnxgz)B解释成tsaedsaeezegexenehetsaedsae
若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:“天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一直鹅地上一只鹅”。
t d s a e z g x n h
天 地 上 一只 鹅 追 赶 下 蛋 恨
-err
- 2022-04-09 12:10:23下载
- 积分:1
-
转换成汉字大写金额
转换成汉字大写金额-converted into the amount of Chinese capital
- 2022-12-11 09:40:03下载
- 积分:1
-
数据结构中的基本问题
数据结构中的基本问题-the basic question in data structure.
- 2022-01-22 17:20:49下载
- 积分:1
-
point_to_line
计算点到直线的距离.输入两点坐标确定一个直线,再输入一个点的坐标,计算该点到直线的距离.(Calculated point to the straight line distance. Enter the coordinates of two points determine a straight line, and then input the coordinates of a point, to calculate the straight-line distance between points.)
- 2020-11-30 15:09:27下载
- 积分:1
-
倍增法构建后缀数组 求最大重复子串的C程序
倍增法构建后缀数组 求最大重复子串的C程序-Constructing the suffix array multiplication seeking to repeat the largest sub-string C-program
- 2022-03-18 11:29:48下载
- 积分:1