文件名称:baoshu
介绍说明--下载内容均来自于网络,请自行研究使用
报数问题。n个人围成一圈,1,2,3循环报数,报到3的人退出。到最后只余1人,输出最后留下的是第几号(最初的序号,以1起始)。压缩包内共三种方法。-Reported several problems. n personal circle, 1,2,3 newspaper circulation numbers, to report three people quit. To the final with only one person, the output of the last to leave the first few numbers (the first number, starting with 1). Three methods of compression package.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
baoshu\baoshu(法一.最优).C
......\baoshu(法三.烦琐).C
......\baoshu(法二.中等).C
baoshu