文件名称:Josephu
介绍说明--下载内容均来自于网络,请自行研究使用
Josephu问题的C语言程序
Josephu问题:设编号为1,2,…,n的n个人围坐在一圈,约定序号为k(1<k<n)的人从1开始报数,数到m的那个人出列,他下一位又从1开始计数,数到m的那个人又出列,以此类推,知道所有人出列位置
此C语言程序可写出出列序列
解压密码0616-Josephu problems C language program Josephu questions: located numbered 1,2, ..., n of n individuals sitting in a circle, the agreed number for k (1 <k <n) from the one to start off, a few to m the person out that his next one to start counting from a few to m another person out, and so on, to know all the locations listed in this C language program can be to write out the sequence of extracting the password 0616
Josephu问题:设编号为1,2,…,n的n个人围坐在一圈,约定序号为k(1<k<n)的人从1开始报数,数到m的那个人出列,他下一位又从1开始计数,数到m的那个人又出列,以此类推,知道所有人出列位置
此C语言程序可写出出列序列
解压密码0616-Josephu problems C language program Josephu questions: located numbered 1,2, ..., n of n individuals sitting in a circle, the agreed number for k (1 <k <n) from the one to start off, a few to m the person out that his next one to start counting from a few to m another person out, and so on, to know all the locations listed in this C language program can be to write out the sequence of extracting the password 0616
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Josephu.c