登录
首页 » 算法 » 经典的Josephus问题C程序

经典的Josephus问题C程序

于 2022-08-07 发布 文件大小:44.02 kB
0 98
下载积分: 2 下载次数: 1

代码说明:

经典的Josephus问题C程序-classic problem Josephus C Program

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

发表评论

0 个回复

  • odd N bands Demon Lineup : N
    奇数N 阶魔方阵问题: 奇数N 阶魔方阵的构造规则如下: 1、在第一行的正中间填入1; 2、如果左上角能够移动,则往左上角填入后继的数;如果左上角不 能移动,则顺移到该列最下方左边的一列中最靠近该列的位置; 3、如果左上角不能移动,同时在该列位置的最下方左边最靠近的位 置处也不能填入数,则往该位置的上一行的最右边的位置处填入 后继数; 4、每次尽可能地往左上角填数,如果发现左上角已经填满了数,则 从当前填的数的位置下方填上后继数。 要求: 无。 输入: 用户从键盘任意输入一个正奇数。 输出: 打印出该魔方阵。-odd N bands Demon Lineup : N-odd magic Lineup Construction Rules are as follows : 1, the first line is the middle of a preference; Two, if the upper left corner to Mobile, the successor to fill in the upper left; If the upper left corner, unable to move, with the move out of the bottom of the left one of the closest out of position; three, if the upper left corner, unable to move, while in the position shown in the bottom left nearest location Department has not entered a few, to the position of the party on the right side of the positions filled successor; 4, each possible to fill the upper left corner, if fill the upper left corner, has found a few, from the current fill several positions to fill in the bottom subsequent few. Requ
    2022-01-21 19:39:47下载
    积分:1
  • vc++环境的快速傅立叶变换的库,含VC++的测试源代码
    vc++环境的快速傅立叶变换的算法库,含VC++的测试源代码-vc++ environment Fast Fourier Transform algorithm library, containing VC++ the test source code
    2023-06-18 09:10:03下载
    积分:1
  • Multi
    多维傅里叶变换,二维DFT快速算法,共分五部--四:三维复序列3D-DFT快速算法-Multi-dimensional Fourier transform, fast algorithm for two-dimensional DFT is divided into 5- 4: Three-dimensional complex sequence of 3D-DFT Fast Algorithm
    2023-07-04 05:05:03下载
    积分:1
  • 求解电磁场的三维有限元程序,使用C语言实现.比较高效.
    求解电磁场的三维有限元算法程序,使用C语言实现.比较高效.-Solving the three-dimensional electromagnetic finite element method, the use of C language. Comparative efficiency.
    2023-02-19 13:50:03下载
    积分:1
  • 涡轮模型
    应用背景对于涡轮机,一个径向流入涡轮机模块已建立。初步几何设计实现:在这个模块,主要的几何尺寸和速度三角形的转子和产生定子。设计例程开始固定几个输入参数,计算特征的热力学性质点相关的入口和出口流体条件;关键技术这可以被认为是最重要的涡轮设计的目标,因为它可以提供重要的信息进一步的设计策略,不仅为涡轮机本身,而且为周期参数。无论如何,这个模块,需要迭代的一些参数参与热动力循环;
    2023-04-29 19:30:03下载
    积分:1
  • 用fortran语言编写的程序,这样可以在fortran系统中直接运行,为大家提供点方便。...
    用fortran语言编写的程序,这样可以在fortran系统中直接运行,为大家提供点方便。-using FORTRAN language of the procedure so in FORTRAN operating system directly, to provide a convenient point.
    2022-02-11 11:45:24下载
    积分:1
  • used to 计p0点到直线p1p2的距离
    used to 计算p0点到直线p1p2的距离-p0 points used to calculate the straight-line distance p1p2
    2022-02-05 14:58:10下载
    积分:1
  • splay基本操作和使用
    splay的基本操作,个类oj题目,有源代码,可以相互学习
    2023-02-07 03:45:04下载
    积分:1
  • 生物地理学优化BBO
    一种新的基于matlab语言的集群智能优化算法,由Simon2008年发明,是一种具有很好寻优性能和算法效率的智能优化算法,相比于常用的GA,PSO,ABO等算法具有较明显的优势,是一种正在迅速发展的优化算法,适合工程领域的多种优化问题的求解
    2022-08-24 11:31:15下载
    积分:1
  • C++ 链表类
    自己写的链表类,用C++封装, 有部分功能没有测试。模板编程。
    2022-10-30 06:10:02下载
    积分:1
  • 696518资源总数
  • 105540会员总数
  • 37今日下载