-
有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步...
有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的:
(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
-
can seek a matrix of the saddle point (that is, the matrix of the largest firms...
可以求一个矩阵的鞍点(即矩阵中最大的企业指出最小的点)
- 2022-06-13 13:59:28下载
- 积分:1
-
查表法公历农历转换,此法可以转换西历农历转换程式,可以转换100年...
查表法公历农历转换,此法可以转换西历农历转换程式,可以转换100年-look-up table method Lunar calendar change, this method can be converted into the Western calendar, the Lunar conversion programs, can be converted into 100 years
- 2022-01-22 14:22:57下载
- 积分:1
-
C++数据结构,通过堆栈方式实现的表达式求值
本源代码是通过堆栈的结构,可以实现表达式求值。可以实现如下功能:1.区分括号2.判断表达式的形式是否有错3.判断小数和整数4.根据符号的优先级能够自动给出计算顺序。5.包中含有表达式求值的详细思路PPT。
- 2022-02-25 15:53:21下载
- 积分:1
-
Bubble sort to sort a simple 10 figures, according to smallest order
气泡排序,一个简单的排序10个数字,按从大到小排列-Bubble sort to sort a simple 10 figures, according to smallest order
- 2023-03-24 13:15:04下载
- 积分:1
-
FastReport demonstration program. FastReport VCL library is under a tripartite s...
fastreport演示程序。fastreport是vcl库的下的一个报表三方控件,写的比delphi自带的报表系统好的多。(DELPHI中有bug)可以下载-FastReport demonstration program. FastReport VCL library is under a tripartite statement Control and writing than delphi"s own statements over a good system. (Delphi is bug) can be downloaded to s
- 2022-04-15 18:29:27下载
- 积分:1
-
VC做的药库管理系统,源程序和数据库都有。包括登陆框,连接数据库,操作数据库。...
VC做的药库管理系统,源程序和数据库都有。包括登陆框,连接数据库,操作数据库。-VC do Drug Storehouse management systems, source code and databases are. Including landing box, connect to the database, the database.
- 2023-04-30 13:00:02下载
- 积分:1
-
在各种各样的搜索算法,AVL树搜索算法是SHO…
在各种各样的搜索算法中,AVL树的搜索算法可以将其最短的搜索时间做一个保证,本程序就是实现了AVL搜索算法-in a wide variety of search algorithm, AVL tree search algorithms can be the shortest time to do a search that The procedure is to achieve the AVL Search Algorithm
- 2023-05-23 18:45:03下载
- 积分:1
-
list方法,包含创建list和创建节点
list方法,包含创建list和创建节点-function of list
- 2022-07-23 18:42:27下载
- 积分:1
-
高精度数的加减乘法,可以自定义进制,作为类实现,直接使用即可。...
高精度数的加减乘法,可以自定义进制,作为类实现,直接使用即可。-precision the number of addition and subtraction multiplication can be defined band, as the category achieved, can be used directly.
- 2022-07-17 17:30:45下载
- 积分:1