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

C++约瑟夫环

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

代码说明:

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

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

发表评论

0 个回复

  • SCanLine
    在MFC中实现地图的填充(可选择颜色进行填充)(In MFC to achieve map filling (optional color-filled))
    2008-12-22 20:49:41下载
    积分:1
  • socket聊天java
    用javaoic的java实现,包含了服务器和客户端,如果你对此有想法,请发电子邮箱联系我,共同努力改进,分享是人类进步的保证。
    2022-02-16 01:57:32下载
    积分:1
  • 基4快速傅立叶变换的实现方法 ,有多种,没有加密
    基4快速傅立叶变换的实现方法 ,有多种,没有加密-Radix-4 Fast Fourier Transform method, a combination of factors, not encrypted
    2022-06-28 20:43:29下载
    积分:1
  • Imager_SDK_14.12.20086
    Pocket 2003 Imager_SDK_14.12.20086 for software engineereing.
    2014-01-07 17:21:36下载
    积分:1
  • Protocol6
    计算机网络选择重传协议,效率达到90 以上,北邮计科计算机网络课程作业(Select the computer network retransmission agreement, more than 90 efficiency, BUPT Jike computer network course work)
    2014-03-31 20:55:07下载
    积分:1
  • 基于il的脚本解释器
    基于c#开发的自定义脚本解释器,可以使用脚本编程。编写出简单的程序。此脚本解释器用于学习,对编译原理有很好的认识与理解。
    2022-03-04 15:13:05下载
    积分:1
  • iatche-program
    一个不错的抓图程序 A nice catcher(A good drawing program A nice catche)
    2018-12-30 09:33:31下载
    积分:1
  • socket通信连接
    简单的socket套接字连接用于实现客户端与服务器的互相连接,实现客户端与服务器之间的相互通信。
    2022-03-30 06:56:09下载
    积分:1
  • 2
    说明:  用链表的方式实现多项式的加减,其中结构体包含幂次和系数。(Polynomial addition and subtraction with a list of ways in which the structure and contains the power of coefficients.)
    2017-03-10 09:10:31下载
    积分:1
  • 本程序是一个用C#编写的文件传输程序,分服务端和客户端。 服务端首先监听端口,等待客户端的连接请求,一旦连接成功,即把可供客户端下载的文件名称发给客户端,客户端...
    本程序是一个用C#编写的文件传输程序,分服务端和客户端。 服务端首先监听端口,等待客户端的连接请求,一旦连接成功,即把可供客户端下载的文件名称发给客户端,客户端接受到文件名称后,选择要下载的文件,并发给服务器。服务器根据客户端发送的文件名,选择指定的文件读取文件流,并把文件流内容赋值给网络流发送到客户端,客户端将接受到的网络流赋值给文件流,并保存到文件。 注意:在使用时,要在E盘下建立一个aa文件夹,将一些文件放入其中,以供演示。-this procedure is a C# prepared by the file transfer process-server and the client. First-service monitoring ports, waits for the client to connect to the request Once connected, which is available for download client name in the paper circulated to clients, customers termination papers by name, choose to download the document and sent to the server. Servers based on the client to send the file name, select a file to read the documentation flow, and stream content to the network flow assignment sent to the client, the client will talk to the network flow assignment to the paper flow, and the preservation of the document. Note : when used in the E-aa established a folder of documents Add which, for demonstration.
    2022-02-26 07:14:14下载
    积分:1
  • 696518资源总数
  • 105559会员总数
  • 1今日下载