-
10名海盗抢得了窖藏的100块金子,并打算瓜分
这些战利品。这是一些讲民主的海盗(当然是他们自己特有的民主),他们的习惯
是按下面的方式进行分配:最...
10名海盗抢得了窖藏的100块金子,并打算瓜分
这些战利品。这是一些讲民主的海盗(当然是他们自己特有的民主),他们的习惯
是按下面的方式进行分配:最厉害的一名海盗提出分配方案,然后所有的海盗(包
括提出方案者本人)就此方案进行表决。如果50%或更多的海盗赞同此方案,此方
案就获得通过并据此分配战利品。否则提出方案的海盗将被扔到海里,然后下提名
最厉害的海盗又重复上述过程-10 pirates seize a cache of 100 gold, and plan to divide up these spoils of war. This is the democracy of some pirates (of course it was their own unique democracy), their habits are based on the following manner allocation : one of the most powerful pirate proposed distribution plan, and then all the pirates (including the proposal himself) on this program for a vote. If 50% or more of the pirates agreed to this program, this program was adopted and on the allocation of spoils of war. Otherwise, the proposals will be pirates thrown into the sea, and then nominate the most serious piracy repeated this process
- 2023-06-24 15:35:03下载
- 积分:1
-
此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把...
此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把文法G的所有非终结符按任一种顺序排列成P1,P2,…Pn 按此顺序执行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的规则改写成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是关于Pj的所有规则; 消除关于Pi规则的直接左递归性 END (3)化简由(2)所得的文法。即去除那些从开始符号出发永远无法到达的非终结符的 产生规则。-to compile this report principle experiment to eliminate learning grammar rules Left delivery algorithm, left the Elimination delivery grammar rules in grammar analysis of the role of the design algorithm containing purpose algorithm source code .... etc. : Elimination left recursive algorithm : (1) grammar, of all non-G website by the end of a paramagnetic Arrange sequence P1, P2, ... Pn implementation of this order (2) FOR i : n = 1 DO TO BEGIN FOR j : = 1 DO put the shape of Pi Gamma approximate rewrite the rules 1 into Pi Gamma Gamma 2 k .... These ions 1 2 ... k ions on all the rules; Pi elimination of the direct rule left recursive END (3) Reduction from (2) from the grammar. Removing that those symbols s
- 2022-05-09 09:48:32下载
- 积分:1
-
ASP+Accesss数据库设备WEB报修
ASP+Accesss数据库设备WEB报修-ASP+ Accesss database equipment repair WEB
- 2022-04-21 00:55:31下载
- 积分:1
-
数据结构来解决迷宫:一个非迷宫
数据结构迷宫求解:用非递归方法求迷宫路径-Data structure to solve the maze: a maze with non-recursive method, to calculate the path
- 2022-03-07 20:51:32下载
- 积分:1
-
双向链表的各种操作(包括建立,插入,删除,查找等)
双向链表的各种操作(包括建立,插入,删除,查找等)-Two-way linked list of a variety of operations (including create, insert, delete, search, etc.)
- 2022-04-07 00:30:51下载
- 积分:1
-
在顺序存储结构上,采用顺序查找算法,直接插入排序算法等算法查找一关键字,输出查找结果...
在顺序存储结构上,采用顺序查找算法,直接插入排序算法等算法查找一关键字,输出查找结果-In the sequential storage structure, using the sequential search algorithm, sorting algorithm directly into the search for a keyword such as algorithms, the output search results
- 2022-02-04 13:48:57下载
- 积分:1
-
金属融化问题
南开大学 金属融化问题 辛运帏老师 C++实现 含测试样例
- 2022-05-17 21:26:23下载
- 积分:1
-
B超管理系统
原创delphi开发的B超管理系统.WINDOWS下开发的B超图象管理系统MEDIWS系统,使用低成本视频图象采集卡及其驱动程序、新颖的JPEG压缩算法、完善的报告编辑环境等技术
- 2023-04-26 01:05:06下载
- 积分:1
-
With the prim algorithm is seeking to use adjacency matrix storage structure, s...
用普里姆(Prim)算法求用邻接矩阵存储结构表示的图或网的最小生成树-With the prim algorithm is seeking to use adjacency matrix storage structure, said the plan or network, minimum spanning tree
- 2022-02-09 15:56:42下载
- 积分:1
-
在网络上收集的100个经典例子
在网络上收集的100个经典例子-online collection of 100 classic example
- 2022-01-26 06:45:20下载
- 积分:1