文件名称:Josephus-problem-
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:514byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
据说着名犹太历史学家Josephus有过以下的故事:在罗马人占领乔塔帕特后,39 个犹
太人与Josephus及他的朋友躲到一个洞中,39个犹太人决定宁愿死也不要被敌人到,于是决定了
一个自杀方式,41个人排成一个圆圈,由第1个人开始报数,每报数到第3人该人就必须自杀,
然后再由下一个重新报数,直到所有人都自杀身亡为止。
然而Josephus 和他的朋友并不想遵从,Josephus要他的朋友先假装遵从,他将朋友与自己安排
在第16个与第31个位置,于是逃过了这场死亡游戏。
此程序为求解自杀顺序的程序。-It is said that the Jewish historian Josephus had the following story: After the Roman occupation Qiaotapate, 39 still
Jews and Josephus and his friends hid in a cave, 39 Jews were the enemy decided to rather die than do not, then determine the
A suicide, 41 individuals arranged in a circle, from the first few individuals began to report, report number to each of the three people who have to commit suicide,
And then re-reported by the next number, until all committed suicide so far.
However, Josephus and his friends did not want to comply, Josephus first pretended to follow his friends, he arranged with his friends
In the first 16 with the first 31 positions, so escaped death in this game.
This procedure is the procedure in order to solve suicide.
太人与Josephus及他的朋友躲到一个洞中,39个犹太人决定宁愿死也不要被敌人到,于是决定了
一个自杀方式,41个人排成一个圆圈,由第1个人开始报数,每报数到第3人该人就必须自杀,
然后再由下一个重新报数,直到所有人都自杀身亡为止。
然而Josephus 和他的朋友并不想遵从,Josephus要他的朋友先假装遵从,他将朋友与自己安排
在第16个与第31个位置,于是逃过了这场死亡游戏。
此程序为求解自杀顺序的程序。-It is said that the Jewish historian Josephus had the following story: After the Roman occupation Qiaotapate, 39 still
Jews and Josephus and his friends hid in a cave, 39 Jews were the enemy decided to rather die than do not, then determine the
A suicide, 41 individuals arranged in a circle, from the first few individuals began to report, report number to each of the three people who have to commit suicide,
And then re-reported by the next number, until all committed suicide so far.
However, Josephus and his friends did not want to comply, Josephus first pretended to follow his friends, he arranged with his friends
In the first 16 with the first 31 positions, so escaped death in this game.
This procedure is the procedure in order to solve suicide.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
约瑟夫自杀问题.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.