思想很简单,就是一个循环链表 但要说明的是:我之所以用clist(1)来初始化,主要是我刚开始编的时候没打算解决约瑟夫环,只是想编一个带表头的循环链表...
代码说明:
思想很简单,就是一个循环链表 但要说明的是:我之所以用clist(1)来初始化,主要是我刚开始编的时候没打算解决约瑟夫环,只是想编一个带表头的循环链表,然后我用从这个程序改过来的,所以代码可以进一步优化。-Thinking is very simple, that is, a cycle list but would like to note is: I use clist (1) to initialize, mainly because I had just started when Joseph did not intend to resolve the ring, just want to provision a table with the head circulation list, and then I used to come from this process, so the code can be further optimized.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!