登录
首页 » Asm » baoshu

baoshu

于 2015-12-13 发布 文件大小:2KB
0 105
下载积分: 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 个回复

  • 696522资源总数
  • 104042会员总数
  • 46今日下载