文件名称:Josephus
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:874byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
约瑟夫环(Josephus)问题:古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起,每数到第D个犯人,就拉出来处决,然后再数D个,数到的在处决……知道剩下的最后一个可赦免。-Central Joseph (Josephus) Question: Ancient N a judge to sentence a prisoner to death, he has a ridiculous law, prisoners stand in a circle, S from the beginning of a number of individuals, each of the first D of the number of prisoners, on the pull out the execution, and then the number of D, and the number of executions of the ... ... know that the last remaining of a pardon.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Josephus.java
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。