摘要: 题源 题面 1.状压 O( n* 2^n ) 我们记录 f[s]为已经取完 s 时的期望时间 若取到了,加上新取到的概率 不然则加上什么也取不到的概率 Code: #include<stdio.h> #include<string.h> #define For(i,a,b) for(register 阅读全文
posted @ 2019-12-13 18:59 monyhzc 阅读(165) 评论(0) 推荐(0) 编辑