文件名称:DrawOutAward
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- Al***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
某企业为了促销,搞抽奖宣传活动,奖品为新款手机一部,抽奖规则如下:
(1)有n个盒子摆成一圈,盒子按顺时针方向依次编号为0,1,2,……,n-1。手机随机放在其中一个盒子中。(n为自然数)
(2)从0号盒子开始摸奖,顺时针方向计数,每遇到第m个盒子就摸奖一次。(m为自然数,m<n)
(3)直到重新摸到0号盒子为止。
-A company for promotional purposes, engage in lottery promotional activities, prizes for the new phones a lucky draw rules are as follows: (1) has n-boxes placed in a circle, box clockwise followed by numbered 0,1,2, ... ..., n-1. Were randomly placed in one of the phone box. (N is natural number) (2) the box number from 0 starting Mojiang, counting clockwise, when confronted with the first m-box on the Mojiang time. (M is natural number, m <n)
(3)直到重新摸到0号盒子为止。
(1)有n个盒子摆成一圈,盒子按顺时针方向依次编号为0,1,2,……,n-1。手机随机放在其中一个盒子中。(n为自然数)
(2)从0号盒子开始摸奖,顺时针方向计数,每遇到第m个盒子就摸奖一次。(m为自然数,m<n)
(3)直到重新摸到0号盒子为止。
-A company for promotional purposes, engage in lottery promotional activities, prizes for the new phones a lucky draw rules are as follows: (1) has n-boxes placed in a circle, box clockwise followed by numbered 0,1,2, ... ..., n-1. Were randomly placed in one of the phone box. (N is natural number) (2) the box number from 0 starting Mojiang, counting clockwise, when confronted with the first m-box on the Mojiang time. (M is natural number, m <n)
(3)直到重新摸到0号盒子为止。
相关搜索: 抽奖
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DrawOutAward.java