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

约瑟夫环

于 2023-01-31 发布 文件大小:5.42 kB
0 114
下载积分: 2 下载次数: 1

代码说明:

使用C++编程,编译了约瑟夫环的整个过程,在输入总人数,报名位数,和第几人出局之后,点击回车键,在CMD框里会显示约瑟夫环的循环过程:总共经历了几轮,每一轮中有谁出局等等。

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

发表评论

0 个回复

  • Data_Structures_and_Algorithms_Using_CSharp
    C# programmers: no more translating data structures from C++ or Java to use in your programs! Mike McMillan provides a tutorial on how to use data structures and algorithms plus the first comprehensive reference for C# implementation of data structures and algorithms found in the .NET Framework library, as well as those developed by the programmer. The approach is very practical, using timing tests rather than Big O notation to analyze the efficiency of an approach. Coverage includes arrays and array lists, linked lists, hash tables, dictionaries, trees, graphs, and sorting and searching algorithms, as well as more advanced algorithms such as probabilistic algorithms and dynamic programming. This is the perfect resource for C# professionals and students alike.
    2010-12-13 17:29:40下载
    积分:1
  • an-r18an0033ej0100-tps-1-profinet
    主控mcu与profinet进行SPI通讯的例子程序(An example program of SPI communication between master control MCU and PROFINET)
    2020-06-23 11:40:02下载
    积分:1
  • F4DISCO CDC USB example
    说明:  STM32F4 Discovery CDC USB example
    2020-07-15 18:51:53下载
    积分:1
  • HVPM_Sensorless_CLA_F2803x
    TI公司dsp28035永磁同步电机开发例程,非常实用(dsp28035 PMSM example )
    2017-04-20 10:55:17下载
    积分:1
  • 个人程序
    说明:  独立按键控制舵机转动,两个舵机都可以用按键控制。(Independent keys control the rotation of the steering gear. Both steering gear can be controlled by keys.)
    2020-06-21 06:40:02下载
    积分:1
  • jis
    jis0208日文编码数组,使用时将高字节减去0X20,低字节减去0X20,(jis0208 Japanese encoded array, use the high byte minus 0X20, low byte minus 0X20,)
    2013-08-15 14:10:08下载
    积分:1
  • 第五章:STM8EEPROM的读写
    说明:  STM8S005K6-EEPROM读写,非常详细,直接用库函数编写(STM8S005K6-EEPROM read and write, very detailed, written directly with library functions)
    2020-06-22 15:00:02下载
    积分:1
  • 一个mvc4的登录项目工程
    一个vs2012开发的mvc4项目,有一个简单的登录页面和主页。登录页面采用了easyUI前端框架。同时体现了登录页面,使用Account控制器的Index方法的页面。
    2022-01-26 14:43:01下载
    积分:1
  • dtw
    语音识别,基于DTW算法的语音识别原理与实现,包含源程序,MATLAB(Speech recognition, speech recognition algorithm based on DTW Principle and Implementation, including source code, MATLAB)
    2010-02-24 16:36:18下载
    积分:1
  • AdminTest
    to check the user has the administration rights is more complicated in windows 7, this is the sample to check it.
    2011-06-06 23:33:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载