欢迎来到Wabc (wabc.cc)

Josephring

价格: ¥ 9 金币可抵¥ 9

最后更新: 2019-12-23 19:18:02

演示地址:

指导费: 免费

分类
参数1
参数2
参数3
参数4
参数5
参数6
大小
1 MB
发货方式
自动发货
下载方式
远程下载
1
1
1
备注说明

所属分类中间件编程
开发工具:Visual C++
文件大小:6KB
下载次数:2
上传日期:2010-11-08 21:28:08
说明:  一开始任选一个正整数作为报数上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直到所有人全部出列为止。试设计一个程序求出出列顺序。
(Choose a positive integer beginning as reported upper limit of the number of m, starting from the first person clockwise order starting from a report number, report the number of m, to stop reporting. Who reported m out of line, his password as the new m value in the clockwise direction from his next start back from a reported personal number, and so on until all the columns all up. Try to design a program calculated the column order.)

文件列表
约瑟夫问题
..........\Josephring1.txt,1613,2009-10-25
..........\Joseph问题.doc,30720,2006-10-15

0 (0%)

好评

0 (0%)

中评

0 (0%)

差评

  • 在线客服

    点击这里给我发消息

    官方微信

    仅处理投诉、举报及平台使用问题;
    商品问题请咨询商家客服!

浏览记录