Description: M sat in a circle and began to count, multiple report K or K people go out, and then continue to count off, until the last person left, who is the last person? What number? Please design your own algorithms, their own programming. M=50,
To Search:
File list (Check if you may need any files):
约瑟夫问题
约瑟夫问题\Untitled.m
约瑟夫问题\Untitled2.m