登录
首页 » c++ » C++约瑟夫环

C++约瑟夫环

于 2022-04-17 发布 文件大小:4.66 MB
0 155
下载积分: 2 下载次数: 1

代码说明:

简单的约瑟夫环,用C++语言,在VISUALSTADIO上编译通过,新手,大神勿喷,使用递归算法约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去

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

发表评论

0 个回复

  • 392440Youngs-VOF
    使用VOF进行液-液两相流的界面追踪,非常使用,强烈推荐(For liquid- liquid two phase flow using VOF interface tracking )
    2021-01-19 23:08:43下载
    积分:1
  • CxImage
    说明:  VC++ 图像处理类库CxImage源代码,CxImage是一个可以用于MFC 的C++类,可以打开,保存,显示,转换各种格式的图像文件,比如BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX, TGA, WMF, WBMP, JBG, J2K 等格式的文件。可以实现BMP<->JPG,PNG <>TIFF格式等等的转换。 (VC++ image processing library CxImage source code, CxImage is a can be used MFC' s C++ classes, you can open, save, display, convert various formats of image files, such as BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX, TGA, WMF, WBMP, JBG, J2K and other formats. Can achieve BMP &lt -&gt JPG, PNG &lt &gt TIFF format conversion, etc..)
    2011-04-08 12:16:37下载
    积分:1
  • NIOSIIREV5.0
    很好的学习FPGA嵌入式的资料!适合初学者和工程师参考!(Good learning FPGA embedded information! Suitable for beginners and engineers reference!)
    2013-08-10 17:24:50下载
    积分:1
  • lab12-McBSP_LOOKBACK_INTDDDA
    DSP28335例程文件,适合学习者,里面的头文件很全,很容易得到应用(A A SA ASDFD GFD GF DF DFSDS)
    2014-11-26 10:33:13下载
    积分:1
  • IAP_AN
    说明:  stm32F1系列IAP串口升级程序,Ymodem协议,自动跳转APP。(STm32F1 Series IAP Serial Port Upgrade Program)
    2019-03-13 15:14:18下载
    积分:1
  • functionguotao
    演化计算是基于随即搜索的新算法;它的技术模型源于自然的演化。下面是一个例子,该函数是典型的多峰(震动剧烈)的函数。用的算法是郭涛算法。(Evolutionary Computation is based on the then new search algorithm its technical model derived from natural evolution. Here)
    2008-04-30 23:55:32下载
    积分:1
  • 遥控器源码
    说明:  基于IAR平台来开发MSP430单片机,制作四旋翼遥控器的代码。(Based on IAR platform, MSP430 MCU is developed and the code of Four-rotor remote controller is made.)
    2020-06-24 09:20:02下载
    积分:1
  • VectorControlDemo
    c# 控件间 连接线 ,箭头线 ,画面放大缩小 c# 控件间 连接线 ,箭头线 ,画面放大缩小(c# control connection between the lines, arrow lines, screen zoom connection between c# control line, arrow line, screen zoom)
    2011-08-31 09:46:55下载
    积分:1
  • CaesarArithmetic
    使用恺撒密码算法加密密码算法实例,算法短小实用性强(Caesar cipher using encrypted password algorithm example, short and practical algorithm)
    2013-09-09 15:36:34下载
    积分:1
  • 20171126235844JGZLY_C
    si4730驱动程序,这是一个调试完成的Si4730收音机芯片的驱动程序,程序中包含了HT1621 LCD芯片驱动及NV065A系列语音芯片驱动(Si4730 driver, this is a debugging completed Si4730 radio chip driver, the program contains the HT1621 LCD chip driver and NV065A series voice chip driver)
    2017-11-27 00:08:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载