登录
首页 » C++ Builder » 约瑟夫环数据结构实验报告

约瑟夫环数据结构实验报告

于 2020-06-26 发布 文件大小:8KB
0 163
下载积分: 1 下载次数: 3867

代码说明:

  C语言数据结构课程设计约瑟夫环1. 本演示程序中,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。(C language curriculum design data structure Joseph Central 1. The demo program, the number of n for arbitrary, and the first to be assigned to input an initial ceiling on the number of reported m, procedures should be able to automatically keep people out from the serial numbers and would come up out of a person's password assigned m, as reported again ceiling on the number of such cycles, until all shown up so far.)

文件列表:

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

发表评论

0 个回复

  • 4.2
    基于dijkstra和广度搜索的加权有向图有必经点的点对点的最短路径算法,路径必须经过要求的必经点,且不成环。 该算法采用了一种自适应调整的方法,经过多次迭代,使解收敛。 但只是寻找了一个略优的可行解(每次迭代都基于贪婪算法寻找),不能保证最优解。而且如果图过于稀疏,因为收敛速度过快,可能导致问题无解(收敛于一个局部最优解,没有经过所有点)。 解决相对稠密的图(每个点的平均出入度4以上),表现良好。 备注:里面有一个QT的工程,可以直接打开(源码里没用QT的库)(Weighted Dijkstra and breadth first search based on a shortest path algorithm must point to point to the map, the path must pass through points, and not a ring. This algorithm adopts an adaptive method to adjust, after several iterations, the convergence of solution. But only to find a slightly better feasible solution (each iteration is based on the greedy algorithm to find), can not guarantee the optimal solution. And if the graph is too sparse, because the convergence speed is too fast, it may lead to the problem of no solution (convergence to a local optimal solution, not after all points). To solve the relatively dense graphs (each entry point average above 4), good performance.)
    2016-04-06 11:35:48下载
    积分:1
  • radixsort
    对首先产生20个随机数进行基数排序,是利用C++实现的(On the first 20 random numbers generated for the base sequencing is the use of C++ Realize the)
    2007-10-16 19:11:53下载
    积分:1
  • c语言)
    说明:  数据结构经典教程,对各位编程有帮助!!!(Classic book of data structure, which is helpful to programming)
    2019-05-29 16:04:29下载
    积分:1
  • ddt
    多段图、遍历、排序。用C语言解决多段图中的成本问题,得出最佳优化方案。(More paragraphs figure, traverse, ranking. C language solve more paragraphs in the chart the cost, obtains the best optimization scheme. )
    2012-05-12 13:49:10下载
    积分:1
  • AVLTree
    好用的平衡二叉树类库,C++类库编写, 好用的平衡二叉树类库,C++类库编写(AVL tree implementation for C++)
    2009-03-12 12:02:05下载
    积分:1
  • small-True
    最小生成树C语言代码 最小生成树C语言代码(small tree small tree small tree)
    2012-11-24 22:55:00下载
    积分:1
  • erchashu
    二叉树的链式存储、先序中序遍历和层次遍历。(构造一棵树并输入数据,编写三个函数,非别是树的前序递归遍历算法、树的后序递归遍历算法、树的非递归中序遍历算法(这里的非递归以中序为例)。在主程序中调用这三个函数进行树的遍历,观察用不同的遍历方法输出的数据的顺序和验证递归与非递归输出的数据是否一样。)(Chain store binary tree, preorder traversal and hierarchy traversal.)
    2013-12-07 23:16:06下载
    积分:1
  • improvedKMPalgorithm
    大学计算机专业,数据结构中的改进的KMP算法,C++编写。(University computer science, data structures to improve the KMP algorithm, C++ written.)
    2010-05-24 12:45:20下载
    积分:1
  • btree
    说明:  b树的c++代码实现,用于数据结构的学习(C++ code implementation of B-tree)
    2019-02-24 19:27:11下载
    积分:1
  • sy1.cpp
    实验内容: 建立一个包含图书(书号,书名,定价)信息的的链表,并具有如下功能: (1) 根据指定图书个数,逐个输入图书信息; (2) 根据书名进行查找,返回此书的书号和定价; (3) 根据指定的位置可返回相应的图书信息(书号,书名,定价); (4) 给定一个图书信息,插入到表中指定的位置; (5) 删除指定位置的图书记录; (6) 统计表中图书个数。 (It is a good c++.)
    2012-10-26 15:23:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载