-
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
-
按照前序非递归遍历二叉树,递归法将二叉树的左右子树互换...
按照前序非递归遍历二叉树,递归法将二叉树的左右子树互换-In accordance with the pre-order traversal non-recursive binary tree, binary tree recursive method will swap the left and right subtree
- 2022-02-21 02:09:07下载
- 积分:1
-
数据结构 课件 东软内部资料!! 给需要的人
数据结构 课件 东软内部资料!! 给需要的人-Neusoft courseware data structure internal information! ! To those who need it
- 2022-08-08 07:28:26下载
- 积分:1
-
labyrinth: You need to find the doable way to go to the
destinaton.And then prin...
labyrinth: you need to find the doable way to go to the destinaton.And then print out the path.-labyrinth: You need to find the doable way to go to the
destinaton.And then print out the path.
- 2023-04-17 06:20:02下载
- 积分:1
-
西电的VC++课上的几个通用模板,完全是可用的
西电的VC++课上的几个通用模板,完全是可用的-West electricity VC++ Class several generic template is completely available
- 2022-12-23 23:15:03下载
- 积分:1
-
Depth
深度优先搜索求迷宫问题
采用深度优先搜索的方法求解迷宫问题,方便快捷-Depth-first search order to the maze problem using depth-first search method for solving a maze problem, convenient and quick
- 2022-03-26 08:10:11下载
- 积分:1
-
这是关于古代9连环问题的求解过程,包括安装跟坼卸
这是关于古代9连环问题的求解过程,包括安装跟坼卸-This is a chain of nine ancient problem solving process, including the installation of crack with dumping
- 2022-04-01 14:14:11下载
- 积分:1
-
opencv图像绘制
资源描述
介绍opencv特有的数据结构cvmat,可用作opencv的作图,图像成分分析
- 2022-01-26 01:24:32下载
- 积分:1
-
线性非线性 插值程序 用来求出 插值函数的 点具体如内容所属...
线性非线性 插值程序 用来求出 插值函数的 点具体如内容所属-Linear interpolation procedure used to derive non-linear interpolation function, such as the specific content of their
- 2022-02-15 17:12:09下载
- 积分:1
-
绿色征途2
绿色征途2
本帖最后由 quyan123456789 于 2013-8-28 16:59 编辑
$ Z: [. G6 {& h6 u M) M1 e* B
帖子发了将近有1年时间了,现在成了置顶帖很高兴
- 2022-08-07 19:13:03下载
- 积分:1