登录
首页 » 数据结构 » 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 137
下载积分: 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 个回复

  • 施伯乐@黄皮书《教程》part3
    施伯乐@黄皮书《数据结构教程》part3-Shi Bole @ beige book Data Structure Course part3
    2022-03-10 14:51:58下载
    积分:1
  • 我做的一个图书馆库系统,有3,4个表。适合参考
    我做的一个图书馆数据库系统,有3,4个表。适合参考-I make a library database system, there are tables 3,4. Suitable reference
    2022-04-02 00:49:57下载
    积分:1
  • 联机帮助台
    资源描述这个项目的目的是开发一个在线帮助台(OHD)在校园和工业设施。这是一个基于内联网的应用程序可以在整个校园内访问。该系统可用于自动化的校园内各种设施的服务请求的工作流程。这是一个集成的系统,涵盖不同种类的设施,如教室,实验室,宿舍,食堂,食堂,体育馆,计算机中心,教师俱乐部等注册用户(学生,教师,实验室助理和其他人将能够登录的要求任何支持设施的服务。这些请求将被发送到有关人,谁也是有效的用户的系统,让他们得到解决。有功能类似电子邮件通知/提醒,增加了一个新的设施系统、报表生成器等。
    2022-06-27 18:58:11下载
    积分:1
  • 快速库的编程实现
    快速数据库的编程实现-Rapid Database Programming
    2022-03-01 03:15:30下载
    积分:1
  • 中的一个试验程序,实现简单的校园导游图功能,提供查找最短路径功能。...
    数据结构中的一个试验程序,实现简单的校园导游图功能,提供查找最短路径功能。-data structure of a test procedures, a simple guide campus map function, providing the shortest path search function.
    2022-04-17 12:13:54下载
    积分:1
  • Access库下实现的系统,功能很强大,适合初学者学习~
    Access数据库下实现的系统,功能很强大,适合初学者学习~-Implemented under the Access database system, function is very powerful, suitable for beginners to learn ~
    2022-04-25 16:13:15下载
    积分:1
  • 实现树的创建算法,创建一个至少包含3层,8个点的二叉树,并对此树实现先中后序的递归遍历算法。输出三种遍历果。再实现一个叶子点查找算法,判断一个给定的值是...
    实现树的创建算法,创建一个至少包含3层,8个结点的二叉树,并对此树实现先中后序的递归遍历算法。输出三种遍历结果。再实现一个叶子结点查找算法,判断一个给定的数值是否在此树中作为叶子结点。-To achieve the creation of the tree algorithm, to create at least a three-layer, 8 nodes of a binary tree, and after this tree in order to achieve the first recursive traversal algorithm. Output the results of three kinds of traversal. And then to achieve a leaf node search algorithm to determine whether a given value in this tree as a leaf node.
    2023-03-12 08:20:04下载
    积分:1
  • 再给大家提供一个练习的程序,用队列实现了杨辉三角,有兴趣研究下...
    再给大家提供一个数据结构练习的程序,用队列实现了杨辉三角,有兴趣研究下-U.S. to give practice to provide a data structure of the procedure, with the Yang Hui triangle queue realize, are interested in study
    2022-01-26 04:20:07下载
    积分:1
  • 的乘法
    应用背景应用数组 可以实现的算法和解决的问题非常多,这里举 一个非常典型的例子一一大整数 乘怯 。这个例子所采用的方法和思想都非常巧妙  。由于计算机的精度是有限的,因此单纯使 用程序设计语言提供的原子数据类型来完成两个大整数的乘法显然是不切实际的。 关键技术可以考虑 用两个数组来分别存储 一些小于 10 的整数 ,这些数字按顺序排列在一起,分别表 示一个大整数的每一位上的数字,于是大整数的储存问题就解决了。然后按照基本乘法规则对这两个 大整数进行运算即可。下面给出了程序的代码。
    2022-02-07 02:59:09下载
    积分:1
  • 双向约瑟夫问题,利用双向链表实现双向进行的约瑟夫问题
    双向约瑟夫问题,利用双向链表实现双向进行的约瑟夫问题-Two-way Joseph problems, using two-way two-way linked to the issue of Joseph
    2023-04-28 16:05:03下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载