POJ-3517 And Then There Was One (约瑟夫环模板)
And Then There Was One POJ
- 3517
Let’s play a stone removing game.
Initially, n stones are arranged on a circle and numbered 1, …, n clockwise (Figure 1). You are also given two numbers k
原创
2017-08-08 20:36:13 ·
235 阅读 ·
0 评论