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

  • 实现一个B*Tree的添加和查找,输入为一组字典文件
    实现一个B*Tree的添加和查找,输入数据为一组字典文件-achieve a B* Tree Search and the addition, the input data for a group of documents dictionary
    2022-01-25 20:47:50下载
    积分:1
  • 一个简单的库管理系统
    一个简单的数据库管理系统-a simple database management system
    2023-01-24 17:25:03下载
    积分:1
  • 仓库管理系统
    仓库管理系统-Warehouse Management System
    2022-03-02 07:19:14下载
    积分:1
  • 迷宫算法!通过递归算法实现!找到最优路径,完成迷宫出口的查找!...
    迷宫算法!通过递归算法实现!找到最优路径,完成迷宫出口的查找!-maze algorithm! Through recursive algorithm! To find the optimal path to complete the maze exports to search!
    2023-08-20 07:10:03下载
    积分:1
  • 魔鬼的语言翻译,严伟
    魔王语言翻译,严蔚敏数据结构实习报告中需要用到的代码-Devil language translation, YAN Wei-Min internship report data structure of the code needed
    2022-04-22 20:56:54下载
    积分:1
  • 栈的基本操作,有初始化,清空,添加,删除,判空等!
    栈的基本操作,有初始化,清空,添加,删除,判空等!-stack the basic operation, initialization, emptied, add, delete, subcontracting air!
    2022-02-14 14:00:29下载
    积分:1
  • JAVA与算法之队列小应用程序
    JAVA数据结构与算法之队列小应用程序-Java data structures and algorithms queue small applications
    2022-06-28 17:45:53下载
    积分:1
  • 用VC编写的利用快速排序算法,运行你输入的要求后…
    使用VC编写的快速排序算法,运行后输入你希望产生的次数,会随机产生数值,并完成排序,是一个教好理解快速排序算法的程序。-prepared by the use of VC quicksort algorithm, running after you input the desired number of randomly generated digits and completed sequencing, is a good understanding of the fast algorithm procedures.
    2022-03-24 20:34:03下载
    积分:1
  • Scheduling multi
    实现多课程的排序问题,符合先修课程安排的要求,可给出多种排课方案!!本程序的亮点是可得出一组课程的所有可能的拓扑排序,故最终结果是多方案的-Scheduling multi-course meet the requirements of Pre-curriculum can be given a variety of arranging schedule the program! ! The highlight of this program can be drawn from a group of courses in all possible topological sort, so the end result is a multi-program! !
    2023-02-05 17:00:03下载
    积分:1
  • 本书是关于计算机科学与工程领域的基础性研究科目之一――与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树
    本书是关于计算机科学与工程领域的基础性研究科目之一――数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树、图等基本数据结构,以及贪婪算法、分而治之算法、分枝定界算法等多种算法设计方法,为数据结构与算法的继续学习和研究奠定了一个坚实的基础。更为可贵的是,本书不仅仅介绍了理论知识,还提供了50多个应用实例及600多道练习题。 本书内容广博权威,结构清晰合理,是一本全新的有关数据结构与算法的教材,对于计算机科学与工程领域的从业人员也是一本很好的参考书。-the book is on the computer science and engineering fields, the basis for one of the subjects of study-- data structure and algorithm monographs. The book in a brief review of the basic design concept C program on the basis of a comprehensive and systematic introduction of the queue, stack, trees and map basic data structure and the greedy algorithm, divide and conquer algorithm, branch-and-bound algorithm multiple algorithm design methods, data structures and algorithms for continuous learning Research and lay a solid foundation. Even more valuable is that the book not only on the theoretical knowledge but also provided more than 50 application examples and more than 600 Exercises Road. The contents broad authority, a clear and reasona
    2022-01-21 04:28:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载