Description: Joseph Wan, the data structure. Joseph ring to achieve the console. Numbered 1,2,3, ... ..., n of n individuals sitting around a circle in a clockwise direction, each holding a password (positive integer). Choose a positive integer beginning as reported upper limit of the number of m, starting from the first person to start a clockwise direction from a report number, report the number of m, to stop reporting. Who reported m out of line, his password as the new m value in the clockwise direction from his next start to re-report the number of individuals, it goes on, until all the columns all up. Try to design a program calculated the column order.
To Search:
File list (Check if you may need any files):
约瑟夫环\debug\约瑟夫环.exe
........\.....\约瑟夫环.ilk
........\.....\约瑟夫环.pdb
........\约瑟夫环\Debug\BuildLog.htm
........\........\.....\lab.obj
........\........\.....\mt.dep
........\........\.....\vc80.idb
........\........\.....\vc80.pdb
........\........\.....\yuesefu.obj
........\........\.....\约瑟夫环.exe.embed.manifest
........\........\.....\约瑟夫环.exe.embed.manifest.res
........\........\.....\约瑟夫环.exe.intermediate.manifest
........\........\demo.cpp
........\........\yuesefu.cpp
........\........\yuesefu.h
........\........\约瑟夫环.vcproj
........\........\约瑟夫环.vcproj.lgd-PC.lgd.user
........\........\约瑟夫环.vcproj.Z-3A304A614CA64.z.user
........\约瑟夫环.ncb
........\约瑟夫环.sln
........\约瑟夫环.suo
........\........\Debug
........\debug
........\约瑟夫环
约瑟夫环