-
有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步...
有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的:
(1) α→β1β2…βm
(2) (θδ1δ2…δn)→θδnθδn-1…θδ1θ
在这两种形式中,从左到右均表示解释。试写一个魔王语言的解释系统,用下述两条具体规则和上述规则形式(2)实现,把他的话解释成人能听得懂的话。
(1) B→tAdA
(2) A→sae
设大写字母表示魔王语言的词汇;小写字母表示人的语言词汇;希腊字母表示可以用大写字母或小写字母代换的变量。魔王语言可含人的词汇。测试用例见题集p97。
- 2022-04-17 01:02:37下载
- 积分:1
-
vector control: an example in vector control of induction motor
vector control: an example in vector control of induction motor
- 2022-05-18 03:00:46下载
- 积分:1
-
文章详细讲解分支限界的基本思想,单元最短路径问题,装载问题,0...
文章详细讲解分支限界的基本思想,单元最短路径问题,装载问题,0-1背包问题,旅游售货员问题等。-Detailed article on the basic idea of branch and bound, the shortest path problem unit, loading issues ,0-one knapsack problem, travel salesman problem.
- 2022-10-20 19:30:03下载
- 积分:1
-
一个快速排序算法的实现例子,数据结构课程作业,可作研究学习之用。 包含源文件和详细的开发文档,可方便移植到C等语言平台。...
一个快速排序算法的实现例子,数据结构课程作业,可作研究学习之用。 包含源文件和详细的开发文档,可方便移植到C等语言平台。-a fast algorithm to achieve example, the data structure course work and can be used for research and study purposes. Includes source document and detailed documentation, will facilitate the transplantation of languages such as C platform.
- 2022-04-15 16:19:00下载
- 积分:1
-
The long integer product strives for
长整数的乘积求余及应用,能使得大整数的乘积变为小程序- The long integer product strives for-odd and the application,
can cause the great integer the product to become the script
- 2022-10-04 06:55:03下载
- 积分:1
-
这是汉诺塔一个演示程序,使用VC++开发的
这是汉诺塔一个演示程序,使用VC++开发的-Tower of Hanoi This is a demo program, the use of VC++ Development
- 2022-06-29 04:19:32下载
- 积分:1
-
C#代码创建Access MDB数据库,无需Access环境.
C#代码创建Access MDB数据库,无需Access环境.-C# Code to create Access MDB database without Access environment.
- 2022-03-26 19:15:15下载
- 积分:1
-
VC++编写的通讯录实例,实现简单数据库功能 (不用后台数据库支持)...
VC++编写的通讯录实例,实现简单数据库功能 (不用后台数据库支持)-VC prepared directories example, to achieve a simple database function (no background database support)
- 2023-08-28 15:35:04下载
- 积分:1
-
网上自动答疑系统(C#)
网上自动答疑系统(C#) -automatic online Advanced Systems (C#)
- 2023-02-07 14:45:04下载
- 积分:1
-
哈夫曼编码(Huffman Coding)以哈夫曼树─即最优二叉树,带权路径长度最小的二叉树,经常应用于数据压缩。...
哈夫曼编码(Huffman Coding)以哈夫曼树─即最优二叉树,带权路径长度最小的二叉树,经常应用于数据压缩。-Huffman coding (Huffman Coding) ─ a Huffman tree that is optimal binary tree, with the right of the path length of the smallest tree, often used in data compression.
- 2022-02-21 16:58:19下载
- 积分:1