登录
首页 » Asm » baoshu

baoshu

于 2015-12-13 发布 文件大小:2KB
0 264
下载积分: 1 下载次数: 2

代码说明:

  设有n(设为17)个人围坐在圆桌周围,按顺时针给他们编号(1,2,...,n),从第1个人开始按顺时针方向加1报数,当报数到m(设为11)时,该人出列,余下的人继续进行,直到所有人出列为止。编写程序模拟这一过程,求出出列人的编号顺序。(Has n (set to 17) people sitting around the round table, clockwise to them number (1,2, ..., n), starting clockwise plus one number off the first person, when the number of reported m (to 11) to the person out of the line, the rest of the people continues until all of the columns so far. Programming simulation of this process, determine the number of people out of the column order.)

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

发表评论

0 个回复

  • CPP-use-shared-memory-
    C++ 使用共享内存实现进程间通信。 文件映射是一种实现进程间单向或双向通信的机制。它允许两个或多个本地进程间相互通信。为了共享文件或内存,所有的进程必须使用相同的文件映射的名字或是句柄。   为了实现共享文件,第一个进程先调用CreateFile方法。接下来调用CreateFileMapping方法来创建一个文件映射对象。并为文件映射指明一个句柄和名称。由于事件,信号,互斥对象和文件映射等这些内核对象都共享同一个名字空间,所以如果这个名字和其他一个对象的名称重名的话那么将创建失败。(C++ use shared memory to achieve inter-process communication)
    2014-03-10 20:09:42下载
    积分:1
  • 用SPI加密数据包。基于WINSOCK2 SPI层。
    用SPI加密数据包。基于WINSOCK2 SPI层。-Encrypted data packet with SPI. WINSOCK2 SPI-based layer.
    2023-02-28 09:50:04下载
    积分:1
  • 站长写的一个使用FTP自动更新应用系统文件的序,可以自动拨号...
    站长写的一个使用FTP自动更新应用系统文件的程序,可以自动拨号- Stationmaster writes uses FTP automatically to renew the application system document the procedure, may the automatic digit dialing
    2022-01-25 17:29:43下载
    积分:1
  • 软件简介:这些源码是网络硬盘上的例子,经同意,本人代为发布. 里面有近百个例子,内容由浅入深.无论您是新手还是有较高水平的好手, 相信你也可以在其中学到不少的东...
    软件简介:这些源码是网络硬盘上的例子,经同意,本人代为发布. 里面有近百个例子,内容由浅入深.无论您是新手还是有较高水平的好手, 相信你也可以在其中学到不少的东西.(-Software Description : These source of network drives example, by consent, I transgressions. There are nearly 100 examples, as elementary. Whether you are a novice or a higher level of players, I think you can learn a lot of these things. (
    2022-02-12 04:11:22下载
    积分:1
  • test_power
    TComm個POWER儀器的測試程式,連接POWER的所有功能測試(TComm a POWER instrument test programs, test all the functions of connection POWER)
    2016-05-13 18:10:20下载
    积分:1
  • Tenpayapi
    退款传资料的详细功能、包含内容说明长把时间都花费在为(Chuan-refund detailed features, including the contents of that have spent a long time for the)
    2009-07-15 20:57:13下载
    积分:1
  • Csoucecode
    该文件包含C语言当中的常用算法源码,如单元加,底层编码,汉诺塔,逆阵,数据结构里面的很多重要的算法源码,是精通C的必备。(This file contains C language source code among the commonly used algorithms, such as the cell increases, the underlying code, Tower of Hanoi, inverse matrix, many important data structures inside the algorithm source code, is proficient in C essential.)
    2008-07-19 10:03:11下载
    积分:1
  • VC++台球厅计时收费管理系统(Access)
    说明:  可以达到台球厅的管理,实用与生活之中,以及小型的台球厅(Can achieve the management of billiards hall, practical and life, as well as small billiards hall)
    2019-05-30 09:20:30下载
    积分:1
  • net
    网路编程 vc++网络编程实例向导 内容丰富 包含全面 对网络编程很有帮助(internet pragram)
    2009-04-09 13:31:04下载
    积分:1
  • 20171204
    日常基本练习,开关灯实现,蛇形输出,竖式输出(Daily basic exercises, switch lights, serpentine output)
    2017-12-16 13:37:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载