搜索资源列表
yue1
- 解决约瑟夫环问题的一个程序-solve a problem of procedure
ysf
- 约瑟夫环 自编,无界面 希望可以交流一下 在C下运行 应该没问题-yuesefuhuan
Huffman
- 哈夫曼树,用哈夫曼树解决约瑟夫环问题 代码具有良好封装性-Huffman tree Huffman tree the Josephus problem code with good package
Joseph
- 约瑟夫问题是个有名的问题:N个人围成一圈,从第一个开始报数,第M个将被杀掉,最后剩下一个,其余人都将被杀掉。例如N=6,M=5,被杀掉的人的序号为5,4,6,2,3。最后剩下1号。 假定在圈子里前K个为好人,后K个为坏人,你的任务是确定这样的最少M,使得所有的坏人在第一个好人之前被杀掉。-Joseph problem is a well-known problem: N personal circle, began to count off from the first, the M-th
Josephus
- 约瑟夫环单链表的,循环单链表求解约瑟夫环。 包含4个程序-Josephus single linked list, circular single list solving Josephus. Program contains four