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

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

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

代码说明:

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

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

发表评论

0 个回复

  • vc prepared by the small hotel management system
    vc编写的小型旅馆管理系统-vc prepared by the small hotel management system
    2022-10-12 21:05:04下载
    积分:1
  • 该源代码利用计算机模拟乘法竖式 计算阶乘 将每位子保存在用new分配的一长字符组里 在本人的机子上可计算30000!的精确值 用时近60秒...
    该源代码利用计算机模拟乘法竖式 计算阶乘 将每位数子保存在用new分配的一长字符数组里 在本人的机子上可计算30000!的精确值 用时近60秒-the source code used a computer simulation multiplication calculation factorial shaft will be preserved for each digit used in the distribution of a new long arrays of characters in my machine on computable 30,000! The precise value of time spent nearly 60 seconds
    2022-03-21 21:13:08下载
    积分:1
  • Quote pillow good home Tianhong Steel Structure Warehouse Management System Ver...
    引用枕善居的天宏钢构仓库管理系统 Ver 2.96,给大家分享-Quote pillow good home Tianhong Steel Structure Warehouse Management System Ver 2.96, to the U.S. to share
    2022-05-18 22:01:24下载
    积分:1
  • Access库下实现的系统,功能很强大,适合初学者学习~
    Access数据库下实现的系统,功能很强大,适合初学者学习~-Implemented under the Access database system, function is very powerful, suitable for beginners to learn ~
    2022-11-03 17:45:03下载
    积分:1
  • 在医院门诊中的应用
    此应用程序可以帮助医生和记录的数据,什么应该药物消耗量,bios 医生检查
    2022-03-26 13:25:16下载
    积分:1
  • adjoining table with no plans to the depth
    用邻接表表示无向图的深度优先搜索遍历 有助于大家理解图的优先遍历问题-adjoining table with no plans to the depth-first search traverse help you understand the plans of the priority issues Traversing
    2023-03-17 05:50:04下载
    积分:1
  • An implementation tool for SYBASE SQL language sample source code features a syn...
    一个执行SYBASE SQL语言的工具示例源代码 功能特色 1 语法颜色显示 2 执行DDL语句 3 在执行SQL Select 语句时使用异步多线程处理方式,这样在检索返回大量 数据Select语句时,不会使占用过多的CPU时间。 -An implementation tool for SYBASE SQL language sample source code features a syntax color display 2 implementation DDL statement 3 in the implementation of SQL Select statement using asynchronous multi-threaded approach, so the return of large amounts of data retrieval when the Select statement, not occupied too much CPU time.
    2022-05-06 20:25:22下载
    积分:1
  • 自用的一个简单的库连接池,支持DB2与Oracle,附加了一些常用的功能
    自用的一个简单的数据库连接池,支持DB2与Oracle,附加了一些常用的功能-Own use a simple database connection pooling, support for DB2 and Oracle, attached a number of commonly used functions
    2022-07-09 21:11:56下载
    积分:1
  • 同一个库开发的系统,有源代码和发布版本
    同一个数据库开发的系统,有源代码和发布版本-with a database development systems, and active code releases
    2022-05-17 05:06:43下载
    积分:1
  • (一) 编写一个程序LAGO7
    (一) 编写一个程序LAGO7-1.CPP,实现二叉树的各种运算,并在此基础上设计一个主程序完成如下功能。 (1) 输出二叉树B; (2) 输出二叉树B的深度; (3) 输出H结点的左、右孩子结点值; (4) 输出二叉树B的宽度; (5) 输出二叉树B的结点个数; 输出二叉树B的叶子结点个数 -(A) to prepare a program LAGO7-1.CPP, to achieve a variety of binary operations, and on this basis, design a main program performs the following functions. (1) output binary tree B (2) The output of a binary tree B of depth (3) The output of H nodes left and right child node value (4) outputs a binary tree B, width (5) output node B, the number of binary trees (6) outputs a binary tree B, the number of leaf nodes
    2023-02-06 07:20:04下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载