文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.