登录
首页 » 数据结构 » 有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步...

有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步...

于 2022-04-17 发布 文件大小:3.36 kB
0 172
下载积分: 2 下载次数: 1

代码说明:

有一个魔王总是使用自己的一种非常精练而抽象的语言讲话,没有人能听得懂,但他的语言是可以逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: (1) α→β1β2…βm (2) (θδ1δ2…δn)→θδnθδn-1…θδ1θ 在这两种形式中,从左到右均表示解释。试写一个魔王语言的解释系统,用下述两条具体规则和上述规则形式(2)实现,把他的话解释成人能听得懂的话。 (1) B→tAdA (2) A→sae 设大写字母表示魔王语言的词汇;小写字母表示人的语言词汇;希腊字母表示可以用大写字母或小写字母代换的变量。魔王语言可含人的词汇。测试用例见题集p97。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 学生课程管理系统,一个学习过程中的必备程序。
    学生课程管理系统,一个学习数据结构过程中的必备程序。-students information manager
    2022-04-01 21:39:28下载
    积分:1
  • Oracle 10g精要 第三版
    Oracle 10g精要 第三版-essence of the third edition of Oracle 10g
    2022-03-23 06:53:53下载
    积分:1
  • convex hull algorithm, scattered dots on the three
    凸壳算法,散点成三维体的方法,该方法从洋鬼子那得来的。-convex hull algorithm, scattered dots on the three-dimensional method from the foreign devils that comes from.
    2022-03-16 02:06:45下载
    积分:1
  • 信息社会的高科技,商品经济化的高效益,使计算机的应用已普及到经济和社生活的各个领域。计算机虽然与人类的关系愈来愈密切,还有人由于计算机操作不方便继续用手工劳动。...
    信息社会的高科技,商品经济化的高效益,使计算机的应用已普及到经济和社生活的各个领域。计算机虽然与人类的关系愈来愈密切,还有人由于计算机操作不方便继续用手工劳动。为了适应现代社会人们高度强烈的时间观念,考试系统软件为教学办公带来了极大的方便。该软件是以VB编程语言为主实现语言,其功能在系统内部有源代码直接完成。通过操作手册,使用者可以了解本软件的基本工作原理。操作人员只需输入一些简单的汉字、数字,即可达到自己的目标。-information society technology, commodity economy of the high effectiveness and the application of computers have access to the economy and society in all areas of life. Although computer and human relations more closely, it was inconvenient for computer operators continue to use manual labor. In order to adapt to modern society was highly strong concept of time, the examination system software for teaching office brought great convenience. The software is Visual Basic programming language mainly to achieve language, and its function within the system active code directly completed. Through the operations manual, users of the software can understand the basic principle. Operators only need to input some simple Chinese characters, numbers, and can achieve their goals.
    2023-08-28 13:10:04下载
    积分:1
  • Maze. With an m* n matrix, said the long labyrinth of 0 and 1, respectively, the...
    迷宫问题。以一个 m*n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论 起点就是方阵中的(1,1)终点就是(m-1,n-1) -Maze. With an m* n matrix, said the long labyrinth of 0 and 1, respectively, the maze of paths and obstacles. Designing a program, for any set of the maze, find a path from the entrance to the export, or come to the conclusion there is no access point is a square matrix of the (1,1) The end is (m-1, n-1)
    2022-04-15 13:14:53下载
    积分:1
  • 考勤管理系统
    考勤管理系统-Attendance Management System
    2022-01-28 23:38:24下载
    积分:1
  • small business card management system is implemented FOSS
    名片管理小系统实施源码-small business card management system is implemented FOSS
    2022-09-29 01:35:04下载
    积分:1
  • 本人自编的解八皇后问题的程序,用了大量的指针实现。
    本人自编的解八皇后问题的程序,用了大量的指针实现。-I own eight-Queen
    2023-06-28 08:40:04下载
    积分:1
  • VC stack with the expression evaluates to achieve! ! Data structure of a small o...
    VC实现的用堆栈实现表达式求值!! 数据结构的一个小作业!! 大家可以参考一下-VC stack with the expression evaluates to achieve! ! Data structure of a small operation! ! We can take a look
    2022-03-04 13:39:13下载
    积分:1
  • K-均值在 C 编程
    // kmeans.c//伊桑·布罗德斯基2011年//月#include#include#include#定义SQR(X)((X)*(X))#定义MAX_CLUSTERS16#定义MAX_ITERATIONS100#定义BIG_double(INFINITY)无效失败(字符*海峡){的printf(STR);出口(-1);}双calc_distance(INT暗淡,双* P1,双* P2){双distance_sq_sum= 0;对于(INT II=0;二
    2023-07-21 00:35:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载