Josephus again HDU - 3089 (约瑟夫环问题)
In our Jesephus game, we start with n people numbered 1 to n around a circle, and we eliminated every k remaining person until only one survives. For example, here’s the starting configuration for n =
原创
2017-10-23 20:18:11 ·
559 阅读 ·
3 评论