Description: A description of the problem are: number 1,2, ..., n of n individuals sitting around a circle clockwise, each holding a password (positive integer). Choose a positive integer beginning as a limit on the number of reported m, starting the first person to start a clockwise direction a report number, report the number of reported m stop. Who reported m out of line, his password as the new m value, in a clockwise direction the next person he began to re-reported a number, it goes on until all the people all of the columns so far. Design a program, according to the column order prints each number.
To Search:
File list (Check if you may need any files):
josephus\game.cpp
........\game.h
........\game.ui
........\josephus.pro
........\josephus.pro.user
........\main.cpp
........\mainwindow.cpp
........\mainwindow.h
........\mainwindow.ui
josephus