PKU-1012 Joseph (约瑟夫环)
原题链接 http://poj.org/problem?id=1012JosephDescriptionThe Joseph's problem is notoriously known. For those who are not familiar with the original problem: from among n people, numbered 1, 2, . .
转载
2013-05-03 10:46:47 ·
424 阅读 ·
0 评论