会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Always Firmly on OI
Informatik verbindet dich und mich. Zeit und Raum trennen dich und mich.
博客园
首页
联系
订阅
管理
2019年6月13日
Codeforces Round #564 (Div. 1) C1/C2. Nauuo and Pictures
摘要: 题目描述 给定 $n$ 个整数 $w_1,w_2,\cdots, w_n$,以及 $n$ 个取值在 $\{0,1\}$ 的整数 $a_0,a_1,\cdots,a_n$ 一共进行 $m$ 轮操作,在每一轮,首先会随机选择一个 $[1,n]$ 的整数,其中选到 $i$ 的概率为 $\frac{w_i}
阅读全文
posted @ 2019-06-13 07:44 KingSann
阅读(147)
评论(0)
推荐(0)
公告