josephus
于 2017-11-12 发布
文件大小:4KB
0 187
下载积分: 1
下载次数: 1
代码说明:
通过c语言数组算法解决josephus问题,m个人围成一圈,从第一个小孩开始顺时针方向每数到第n个小孩时这个小孩离开,最后剩下的小孩是胜利者。求第几个小孩为胜利者(C language array algorithm to solve the Josephus problem, m individual circle, from the first child began to count clockwise every n children, the child left, and finally the remaining child is the winner. A few kids for victory)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
发表评论


