登录
首页 » 数据结构 » The demo program Joseph Central calculus problem, the number n should be arbitra...

The demo program Joseph Central calculus problem, the number n should be arbitra...

于 2023-07-02 发布 文件大小:1,008.00 B
0 73
下载积分: 2 下载次数: 1

代码说明:

本演示程序演算约瑟夫环问题,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。-The demo program Joseph Central calculus problem, the number n should be arbitrary, we must first enter a value assigned to the initial reported that the maximum number of m, the procedure should be able to automatically save a list of the serial number of people and held out the password given to m, again as reported maximum number of such cycles, until all that far out.

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

发表评论

0 个回复

  • 696518资源总数
  • 104353会员总数
  • 66今日下载