会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Unmatched
10 2021 档案
抽奖
摘要:https://www.it610.com/article/1331867856496828416.htm 求java算法:根据物品的数量来确定抽奖的概率(当物品数量为0时无论如何都不可能选到) public class Lottery {private int m = 1000;//发放奖券的数量
阅读全文
posted @
2021-10-25 20:26
UnmatchedSelf
阅读(112)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告