文件名称:11
介绍说明--下载内容均来自于网络,请自行研究使用
用线性表的基本操作来实现约瑟夫问题
总人数及被*人的位置都是由用户通过键盘输入界面,最后输出显示被*人及最后剩下人的序号
如: 输入:10,3
输出:3 6 9 2 7 1 8 5 10 4-Linear form the basic operation to achieve Joseph and the total number of questions the position of the dead were killed by the user through the keyboard input interface, the final output of the show who killed the dead and the serial number of the last remaining example: Input: 10,3 Output : 36927185104
总人数及被*人的位置都是由用户通过键盘输入界面,最后输出显示被*人及最后剩下人的序号
如: 输入:10,3
输出:3 6 9 2 7 1 8 5 10 4-Linear form the basic operation to achieve Joseph and the total number of questions the position of the dead were killed by the user through the keyboard input interface, the final output of the show who killed the dead and the serial number of the last remaining example: Input: 10,3 Output : 36927185104
(系统自动生成,下载前可以参看下载内容)
下载文件列表
11.cpp