约瑟夫退圈问题

上传者: 18246731 | 上传时间: 2021-08-25 19:56:15 | 文件大小: 3.51MB | 文件类型: RAR
小学期作业,题目找不到了 N个人围成一圈,从第一个人开始按顺序报数并编号1,2,3,……N,然后开始从第一个人转圈报数,凡是报到3的退出圈子。则剩下的最后一个人编号是多少。 定义一个类,然后在类前定义一个结构体  2、在类中定义一个链表,输入人数确定链表的长度,对链表的信息进行初始化

文件下载

资源详情

[{"title":"( 43 个子文件 3.51MB ) 约瑟夫退圈问题","children":[{"title":"3. 约瑟夫退圈问题","children":[{"title":"yuesefu","children":[{"title":"yuesefu.suo <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"yuesefu-be866beb","children":[{"title":"yuesefu-97d2aaf2.ipch <span style='color:#111;'> 14.56MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"yuesefu","children":[{"title":"yuesefu.cpp <span style='color:#111;'> 852B </span>","children":null,"spread":false},{"title":"yuesefu.h <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"yuesefu.vcxproj.filters <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.33632-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 3.81KB </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 467.00KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"yuesefu.lastbuildstate <span style='color:#111;'> 95B </span>","children":null,"spread":false},{"title":"link.33632.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.33632.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"yuesefu.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"yuesefu.exe.embed.manifest.res <span style='color:#111;'> 472B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 236.00KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 36.42KB </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 402B </span>","children":null,"spread":false},{"title":"yuesefu.vcxprojResolveAssemblyReference.cache <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"yuesefu.write.1.tlog <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"yuesefu.exe.embed.manifest <span style='color:#111;'> 406B </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"yuesefu.log <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"yuesefu_manifest.rc <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"link.33632-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"yuesefu.obj <span style='color:#111;'> 48.17KB </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 29.47KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 10.08KB </span>","children":null,"spread":false}],"spread":false},{"title":"yuesefu.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"yuesefu.vcxproj <span style='color:#111;'> 3.93KB </span>","children":null,"spread":false}],"spread":true},{"title":"yuesefu.sdf <span style='color:#111;'> 5.33MB </span>","children":null,"spread":false},{"title":"yuesefu.sln <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"yuesefu.pdb <span style='color:#111;'> 547.00KB </span>","children":null,"spread":false},{"title":"yuesefu.exe <span style='color:#111;'> 38.50KB </span>","children":null,"spread":false},{"title":"yuesefu.ilk <span style='color:#111;'> 374.61KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明