-
有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步...
有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的:
(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
-
第六章 模板与数据结构习题
6.2.1 需要编写一个对多维数组通用的算法(即各维的大小未定),怎样才能把实参多维数组的信息全部传递到函数中去?...
第六章 模板与数据结构习题
6.2.1 需要编写一个对多维数组通用的算法(即各维的大小未定),怎样才能把实参多维数组的信息全部传递到函数中去?-Chapter VI with the data structure template 6.2.1 Exercises need to write a generic algorithm for multi-dimensional array (that is, the size of the peacekeeping undetermined), how can the real multi-dimensional array parameter information passed to the function all go?
- 2022-04-08 13:36:19下载
- 积分:1
-
这个源程序是关于无向图的邻接表生成和显示的,可以用这个程序实现...
这个源程序是关于无向图的邻接表生成和显示的,可以用这个程序实现-the source of the undirected graph generation and adjacent table shows, this procedure can be used to achieve
- 2022-01-25 21:49:30下载
- 积分:1
-
无限大整数类
用链表实现无限大整数的运算。
在进行大整数运算时可以拿它当函数,直接调用...
无限大整数类
用链表实现无限大整数的运算。
在进行大整数运算时可以拿它当函数,直接调用-Infinite integer Class List realize infinite integer arithmetic. In large integer operations can use it as a function of the direct call
- 2022-01-26 06:54:36下载
- 积分:1
-
练习时做的一个老乡通信录管理系统,可从WORD中导入数据,存入ACCESS数据库中...
练习时做的一个老乡通信录管理系统,可从WORD中导入数据,存入ACCESS数据库中-Practicing to do a hometown address book management system can be obtained from WORD to import the data into ACCESS database
- 2023-07-31 04:50:04下载
- 积分:1
-
C#实现xml读取和写入
资源描述C#实现xml文件读取和写入。自己项目里面的一个功能,本地数据缓存时使用。编码清晰,一看就懂的哈。
- 2022-08-07 15:13:44下载
- 积分:1
-
Aplicacion de una biblioteca , falta un poco de codigo pero esta a mas de un 70
Aplicacion de una biblioteca , falta un poco de codigo pero esta a mas de un 70-Aplicacion de una biblioteca , falta un poco de codigo pero esta a mas de un 70
- 2023-06-25 06:00:04下载
- 积分:1
-
prepared by Huffman, the running through! According to the importation of constr...
c语言编写的哈夫曼程序,运行通过的!根据输入构建哈夫曼树.-prepared by Huffman, the running through! According to the importation of construction Huffman tree.
- 2022-01-30 17:59:00下载
- 积分:1
-
Produced by a simple VB
VB制作的简单的基于access的停车管理数据库,在压缩包内有初始登陆账户名和密码。-Produced by a simple VB-based parking management database access, in the compressed packet, there are the initial landing the account name and password
- 2022-02-10 00:01:17下载
- 积分:1
-
定义一个栈,并实现栈的基本操作:
void Push( const T& x) //
bool Pop(T& x) //
bool getTop(T...
定义一个栈,并实现栈的基本操作:
void Push( const T& x) //
bool Pop(T& x) //
bool getTop(T& x) const //
ostream& operater
- 2023-03-31 17:10:03下载
- 积分:1