-
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
-
a simple binary tree algorithm, including the binary tree traversal, but also ad...
一个最简单的二叉树的算法,包括二叉树的各种遍历,还添加了队列的层序遍历-a simple binary tree algorithm, including the binary tree traversal, but also adds a layer of Queue preorder
- 2022-02-15 00:00:29下载
- 积分:1
-
Air booking system c++ source code. The structure of air passenger data source b...
航空订票系统的c++源码。是数据结构航空客运订票系统的源码,个人制造-Air booking system c++ source code. The structure of air passenger data source booking systems, personal manufacturing
- 2023-01-02 12:45:04下载
- 积分:1
-
myself from the oracle oracle made mention 805 client streamline their procedure...
我自己从oracle 805 提取得oracle精简客户端程序并且自己开发了一个添加tns的小工具-myself from the oracle oracle made mention 805 client streamline their procedures and the development of a small add tns tools
- 2022-10-16 22:00:03下载
- 积分:1
-
用VFP编写的报亭管理系统
用VFP编写的报亭管理系统-VFP prepared by the newsstand Management System
- 2022-05-09 12:11:01下载
- 积分:1
-
合并排序给出一组整数和另一个整数,确定是否是O。
merge sort give a set S of n integers and another integer x, determine whether or not there exits two elements in S whose sum is exactly x.-merge sort give a set of S n integers and anot her integer x, determine whether or not there exits two elemen ts in S whose sum is exactly x.
- 2023-04-27 20:45:04下载
- 积分:1
-
用vb开发atm界面,具有修改密码,转账,存款取款功能,中英文界面,然后连接数据库,添加时间功能...
用vb开发atm界面,具有修改密码,转账,存款取款功能,中英文界面,然后连接数据库,添加时间功能-Vb interface atm with the development of a modified password, fund transfer, cash deposit function, in both Chinese and English interface, and then connect to the database, add the time function
- 2023-06-02 05:20:03下载
- 积分:1
-
使用数据库的VC编程实现,一个简单的DEMO
使用数据库的VC编程实现,一个简单的DEMO-use of the VC database programming, a simple DEMO
- 2023-09-01 01:05:03下载
- 积分:1
-
前一阵出去玩了,补回还差的2个,里面包括上次上载的一共5个,另加个汇编程序,是课堂实验...
前一阵出去玩了,补回还差的2个,里面包括上次上载的一共5个,另加个汇编程序,是课堂实验-play out a little while ago, to compensate for the worse two, including the inside on the last of a total of five, plus a 000 assembler, a classroom experiment
- 2022-05-25 17:12:49下载
- 积分:1
-
A very short version of expression of evaluation, be builted using the principle...
很短的表达式求值,利用了编译原理里面的只是构建的-A very short version of expression of evaluation, be builted using the principle of the compiler.
- 2022-02-02 07:49:58下载
- 积分:1