登录
首页 » 数据结构 » 10名海盗抢得了窖藏的100块金子,并打算瓜分 这些战利品。这是一些讲民主的海盗(当然是他们自己特有的民主),他们的习惯 是按下面的方式进行分配:最...

10名海盗抢得了窖藏的100块金子,并打算瓜分 这些战利品。这是一些讲民主的海盗(当然是他们自己特有的民主),他们的习惯 是按下面的方式进行分配:最...

于 2023-06-24 发布 文件大小:3.75 kB
0 187
下载积分: 2 下载次数: 1

代码说明:

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

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

发表评论

0 个回复

  • to document the data Huffman coding and decoding, data presents given weight, sh...
    对文件中的数据进行哈夫曼编码和解码,列出给定数据的权重,列出左右孩子和父亲节点的列表,对任意数据进行进行哈夫曼编码和解码-to document the data Huffman coding and decoding, data presents given weight, shown around children and the father node list of arbitrary data for Huffman coding and decoding
    2022-03-16 02:51:33下载
    积分:1
  • 题目:参加运动会的N个学校编号为1~N.比赛分成M个男子项目和W个女子项目,项目编号分别为1~M和M+1~M+W.由于个项目参加人差别较大,有些项目取前5名,...
    题目:参加运动会的N个学校编号为1~N.比赛分成M个男子项目和W个女子项目,项目编号分别为1~M和M+1~M+W.由于个项目参加人数差别较大,有些项目取前5名,得分顺序为7,5,3,2,1 还有些项目只取前3名,得分顺序为5,3,2.写一个统计程序产生各种成绩单和得分报表.基本要求:产生各学校的成绩单,内容包括各校所取得的每项成绩的项目号,名次,姓名和得分 产生团体总分报表,内容包括校号,男子团体总分,女子团体总分和团体总分.概要设计:1. 为实现上述程序功能,应以线性表表示集合.2. 本程序包含3个模块:(1) 各集合定义模块(2) 线性表实现模块(3) 主程序模块-topics : participation in the Games N-school No. 1 ~ N. contestants were divided into men item M and W-woman project, a number of M and M ~ ~ 1 M W. As projects vary greatly in the number of participants, some of the items from the former five, scoring sequence of 7,5,3,2,1 also just take some items before the three scores sequence of incidents. write a variety of statistical procedures and report card scoring statements. the basic requirements : have the school report card, which includes school admission the results of each item, ranking names and scores scores statements groups, including schools, the men"s team scores, the women"s team scores and scores groups. summary of design : 1. to achi
    2022-01-25 20:33:55下载
    积分:1
  • 数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构数据结构
    2022-08-10 06:02:56下载
    积分:1
  • 串的KMP算法,无回溯的模式匹配中最具代表性的是KMP算法。它是基于对模式本身的字符分布特征所进行的分析,生成模式的特征向量,显示了P= aab 匹配S= ab...
    串的KMP算法,无回溯的模式匹配中最具代表性的是KMP算法。它是基于对模式本身的字符分布特征所进行的分析,生成模式的特征向量,显示了P= aab 匹配S= ababbaabaa 的优化的KMP算法过程。-Strings of KMP algorithm, no backtracking pattern matching is the most representative of the KMP algorithm. It is based on a model of their own characters by distribution analysis of eigenvectors generated model shows that P = aab match S = ababbaabaa the KMP algorithm optimization process.
    2022-03-19 16:46:38下载
    积分:1
  • This is a linked list with the simple realization of student management procedur...
    这是一个用链表实现的简单的学生管理程序,有链表的插入删除等各种操作-This is a linked list with the simple realization of student management procedures, delete, insert Chain various operations
    2022-05-28 22:47:17下载
    积分:1
  • 实现二叉树的一部分功能,有需要的可以下载来
    实现二叉树的一部分功能,有需要的可以下载来-Part of the realization of binary functions, can be downloaded in need to look at
    2022-07-25 03:44:11下载
    积分:1
  • huffman树的基本实现. 利用读取TXT文件统计产生huffman树,从而对TXT文件进行压缩和解压....
    huffman树的基本实现. 利用读取TXT文件统计产生huffman树,从而对TXT文件进行压缩和解压.-huffman tree realize. the use of statistics to read TXT file generated huffman tree, thus TXT file compression and decompression.
    2022-08-24 08:55:48下载
    积分:1
  • 一个简单的记录集类,可以操作单个文件,可以用来存放单表...
    一个简单的记录集类,可以操作单个数据文件,可以用来存放单表数据-A simple type recordsets, you can operate a single data file that can be used to store a single table of data
    2022-02-25 10:11:58下载
    积分:1
  • 这个代码是约瑟夫环链表实现循环的方法,可以帮助理解…
    本代码是约瑟夫环的循环链表实现方法,可以帮助理解约瑟夫环的基本原理,及其实现-This code is Joseph Central List realize the cycle method, can help to understand the basic principles of Joseph Ring, and its realization
    2023-06-02 18:20:03下载
    积分:1
  • 公司人员管理系统
     公司人员管理系统实现对公司人员按姓名或者编号显示、查找、增加、删除和保存各类人员信息的操作。 其中,人员编号在生成人员信息时同时生成,每输入一个人员信息编号顺序加1。 程序对所有人员有提升级别的功能
    2022-03-03 21:43:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载