在求独立的随机变量之和的分布时,可用矩母函数法。 1 矩母函数法 定理 已知$X_1,\ldots,X_n$为独立的随机变量,各种的矩母函数为$M_1,\ldots,M_n$,$a_1,\ldots,a_n$为常数,则$Y=\sum_^a_i X_i$的矩母函数为 \[ M_Y(t)=\text{E ...
分类:
其他好文 时间:
2021-04-13 12:24:16
阅读次数:
0
这里有板子 最大流 view code namespace Flow { int tot=1,fi[N],ne[M],to[M],w[M],S,T,d[N],nn; inline void add(int x,int y,int c) { ne[++tot]=fi[x],fi[x]=tot,to[t ...
分类:
其他好文 时间:
2021-04-13 11:45:28
阅读次数:
0
MySQL:系统提供了很多函数 Count:统计个数,次数,null不统计 Max:最大值 Min:最小值 Sum:求和 Avg:平均值 Round:四舍五入 ...
分类:
其他好文 时间:
2021-04-12 12:55:32
阅读次数:
0
Zhou B., Khosla A., Lapedriza A., Oliva A. and Torralba A. Learning Deep Features for Discriminative Localization. CVPR, 2016. Selvaraju R., Das A., V ...
分类:
移动开发 时间:
2021-04-12 12:52:24
阅读次数:
0
一、标题1 上标用^表达,下标用_表达,超过一位的参数用{}裹挟,空格要勤空 二、实例 1.求和符号$\sum$的表达 \sum_{i=0}^{15} p_i 2^{8i} 效果如下: 2.分数的表达 \frac{2^i \rho t}{32} < 256 效果如下: 3.??? 三、符号 ...
分类:
其他好文 时间:
2021-04-12 12:21:34
阅读次数:
0
SQL 函数 SQL 拥有很多可用于计数和计算的内建函数。比如: AVG() - 返回平均值COUNT() - 返回行数FIRST() - 返回第一个记录的值LAST() - 返回最后一个记录的值MAX() - 返回最大值MIN() - 返回最小值SUM() - 返回总和 函数的组成函数的目标是返回 ...
分类:
数据库 时间:
2021-04-12 11:47:33
阅读次数:
0
环排列的EGF为: \(f(x)=\sum_{3\le i} {(i-1)! x^i \over i!}=\sum_{3\le i} {x^i \over i}\) 那么这道题答案就是 : \({n!\over k!}[x^n]f^k(x)\) 数据范围太小,甚至多项式乘法不用 NTT #inclu ...
分类:
Web程序 时间:
2021-04-12 11:43:26
阅读次数:
0
Link Description 给出长为 \(n\) 的数列 \(\{a_n\}\),选出一个长度大于二的子序列,使得 \(\prod_{i=2}^K \binom{b_{i-1}}{b_i} \bmod 2=1\) 求方案数。 Solution 对组合数取模,容易想到卢卡斯定理,条件就转化为在二 ...
分类:
其他好文 时间:
2021-04-12 11:42:15
阅读次数:
0
You are the manager of a basketball team. For the upcoming tournament, you want to choose the team with the highest overall score. The score of the te ...
分类:
其他好文 时间:
2021-04-10 13:19:16
阅读次数:
0
package test; public class test1 { public static void main(String args[]){ //使用for循环计算1-100的和,除了以3结尾的那些数 int sum = 0; for(int x = 1;x<=100;x++){ if(x% ...
分类:
其他好文 时间:
2021-04-10 13:09:10
阅读次数:
0