摘要: #include<stdio.h> int Josephus(int n,int m){ if(n==1) return 0; else return(Josephus(n-1,m)+m)%n; } int main(){ int n,m; scanf("%d%d",&n,&m); printf(" 阅读全文
posted @ 2020-03-22 12:19 //Mendax 阅读(220) 评论(0) 推荐(0) 编辑