Description: Joseph Wan, with n individuals sitting around a round table, is reported starting from the number of individuals s, m the number of people to the column and the column from the next person to start reporting the number of numbers to m, who has a column, ..., and so forth until all the people all of the column so far. To n = 8, s = 1, m = 4, for example, if the initial order of n1, n2, n3, n4, n5, n6, n7, n8. The solution of the problem n4, n8, n5, n2, n1, n3, n7, n6.
To Search:
File list (Check if you may need any files):
Josephus\Debug\Josephus.exe
........\.....\Josephus.ilk
........\.....\Josephus.obj
........\.....\Josephus.pch
........\.....\Josephus.pdb
........\.....\vc60.idb
........\.....\vc60.pdb
........\Josephus.cpp
........\Josephus.dsp
........\Josephus.dsw
........\Josephus.ncb
........\Josephus.opt
........\Josephus.plg
........\Debug
Josephus