文件名称:Lucky
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 娟
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实一群小孩子在海边玩耍,发现了一个美丽的贝壳,
*每个小孩子都希望得到这个贝壳,为了判断出这个贝壳的归属,
*Simon提出了一个解决方法如下:众人围成一圈,
*从某个位置开始数数,从1到N,数到N的小孩子出局,其余人继续数数,
*留下的最后一个小孩子就是得到贝壳的幸运儿.编写程序,
*输出各个小孩子的出局顺序和最后得到贝壳的幸运儿。-Real group of children playing at the beach and found a beautiful shell,* each child are hoping to get the shell, in order to determine the ownership of this shell,* Simon proposed a solution as follows: all form a circle,* from a location started counting from 1 to N, to N, the number of children out, the rest continue to count,* a child is left behind by the last shell of the lucky ones. write a program,* the output of each child shell out the order and get the lucky last.
*每个小孩子都希望得到这个贝壳,为了判断出这个贝壳的归属,
*Simon提出了一个解决方法如下:众人围成一圈,
*从某个位置开始数数,从1到N,数到N的小孩子出局,其余人继续数数,
*留下的最后一个小孩子就是得到贝壳的幸运儿.编写程序,
*输出各个小孩子的出局顺序和最后得到贝壳的幸运儿。-Real group of children playing at the beach and found a beautiful shell,* each child are hoping to get the shell, in order to determine the ownership of this shell,* Simon proposed a solution as follows: all form a circle,* from a location started counting from 1 to N, to N, the number of children out, the rest continue to count,* a child is left behind by the last shell of the lucky ones. write a program,* the output of each child shell out the order and get the lucky last.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Lucky\Lucky.java
Lucky
Lucky