算法思路
算法描述如下
int josephus_ SeqList (PSeqList josephus_seq
{ /*求解約瑟夫問題的出列元素序列入口參數
/*出口參數
int s
if ( ! josephus_seq
{
printf(
return (
}
s
printf(
for(i= josephus_seq
{
s
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/23644.html