约瑟夫解决这个问题
Joseph solved the problem
以上为机器翻译结果,长、整句建议使用 人工翻译 。
这个问题是约瑟夫问题的一个变种,可以用线段树解决。
This problem is a variant of the Josephus problem which can be solved with segment tree.
youdao
应用推荐
模块上移
模块下移
不移动