登录
首页 » 数据结构 » The demo program Joseph Central calculus problem, the number n should be arbitra...

The demo program Joseph Central calculus problem, the number n should be arbitra...

于 2023-07-02 发布 文件大小:1,008.00 B
0 167
下载积分: 2 下载次数: 1

代码说明:

本演示程序演算约瑟夫环问题,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。-The demo program Joseph Central calculus problem, the number n should be arbitrary, we must first enter a value assigned to the initial reported that the maximum number of m, the procedure should be able to automatically save a list of the serial number of people and held out the password given to m, again as reported maximum number of such cycles, until all that far out.

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

发表评论

0 个回复

  • 湖南大学文献信息检索课综合实习报告 2. 进入湖大图书馆网站http://lib.hnu.cn/ 的“字资源”各库(即文献库)查找课题相关文献信息资料...
    湖南大学文献信息检索课综合实习报告 2. 进入湖大图书馆网站http://lib.hnu.cn/ 的“数字资源”各数据库(即文献库)查找课题相关文献信息资料,辅助以手工检索(图书馆八楼文献信息检索室)和纸本期刊(图书馆一楼、四楼、七楼)以及因特网上资源。检索年限不作限定,以能了解本课题的全貌和最新进展为原则。-Hunan University literature class information retrieval integrated internship 2. Library Web site to enter the lake http://lib.hnu.cn/
    2023-04-28 02:10:03下载
    积分:1
  • 付款引擎
    付款引擎是对作为服务器端的工作非常有用,如果你不是详见推数据到客户端,因为它的非常庞大的查询语法或庞大的数据,一旦时间需要显示在报表或网格中的应用。每次启动,它总是检查空闲使用计时器。它的使用 delphi 与 MySQL 的后端。
    2022-02-13 07:03:22下载
    积分:1
  • 在一台机器上只能处理n个作业,每个作业均可在单位时间内完成,又假定每个作业都有一个截止期限,当且仅当作业i在它的截止期限之前完成时,可以获得一定的效益。 给...
    在一台机器上只能处理n个作业,每个作业均可在单位时间内完成,又假定每个作业都有一个截止期限,当且仅当作业i在它的截止期限之前完成时,可以获得一定的效益。 给定作业序列,要求一种作业排序算法,使获得的总效益值最大。 -On a single machine can handle only n-jobs, each job can be completed within the unit, but also assumes that each job has a deadline, if and only if job i in its completed before the deadline, they can to receive some benefits. For a given job sequence, requires a job sorting algorithm, so that the greatest value of total benefits received.
    2022-12-08 00:45:02下载
    积分:1
  • 一个VB写的UDP协议的C/S模式的服务程序
    一个VB写的UDP协议的C/S模式的服务程序-a VB UDP written in C/S mode service procedures
    2022-03-18 06:08:34下载
    积分:1
  • 二叉树有三种遍历方法,引用树的概念实现遍历
    二叉树有三种遍历方法,引用树的概念实现遍历-There are three methods of tree traversal, invoke the concept of tree traversal realize
    2022-04-23 17:42:47下载
    积分:1
  • 八皇后问题解决方案一 很好的代码
    数据结构 八皇后问题解决方案一 很好的代码-8 Queen" s problem of data structure of a solution
    2022-01-21 18:20:29下载
    积分:1
  • 求出任意两个序列的最长公共子序列,使用了动态规划的方法
    求出任意两个序列的最长公共子序列,使用了动态规划的方法-Obtained the longest sequence of any two common sub-sequences, the use of dynamic programming methods
    2022-06-19 05:34:21下载
    积分:1
  • Data Structure of maps
    Data Structure of maps
    2023-05-29 07:35:03下载
    积分:1
  • 求解网络中的最短路径。假设某个计算机网络有n个站点,依次编号为1,2,…,n;有的站点之间有直接的线路连接(即这两个站点之间没有其它站点),有的站点之间没有直接...
    求解网络中的最短路径。假设某个计算机网络有n个站点,依次编号为1,2,…,n;有的站点之间有直接的线路连接(即这两个站点之间没有其它站点),有的站点之间没有直接的线路连接。如果用三元组(i,j,f)来表示该网络中的站点I和站点j之间有直接的线路连接且它们之间的距离为f 当已知该网络各站点之间的直接连接情况由m个三元组(i1,j1,f1),(i2,j2,f2),…,(im,jm,fm)确定时,要求计算出对于网络中任意一个站点g(1≤g≤n)到其余各站点的最短距离。-the shortest path. Assuming a computer network n site, followed by No. 1, 2, ..., n; Some sites have direct connections (that is, between two sites are no other site), and some sites have no direct connections. If three yuan (i, j, f) to the network said the site j site and I have direct connections between them but the distance of f the network known as the site of the direct link between the situation by 3 m (i1, j1, f1), ( i2, j2, f2), ..., (im, jm, fm) to determine, calculate requirements for a network site arbitrary g (1 g n) of the rest of the site is the shortest distance.
    2023-05-31 21:45:02下载
    积分:1
  • EHLIB 库
    EhLib6.1包含组件和类Borland的Delphi7,9,2005年,2006年,CodeGear的Delphi2007中,CodeGear RAD Studio 2009中,Embarcadero公司RAD Studio 2010中,XE,X2和RAD Studio的XE3,意在增加数据库应用程序的客户端部分的能力在与应用程序的用户交互的一部分。DBGrid的他提供DBGrid的所有功能,并增加了一些新的特点如下:允许选择记录,列和矩形区域。特殊的头衔,可以对应多个/所有列。页脚即能显示金额/数量/其他字段值。自动调整列设置网格宽度等于客户端的宽度。有能力改变行和标题的高度。
    2023-05-09 23:20:04下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载