102978

题解 Gym 102978F【Find the LCA】

## problem You are given an integer sequence $A_1,A_2,\ldots,A_N$. You'll make a rooted tree with $N$ vertices numbered from $1$ through $N$. The vert ......
题解 102978F 102978 Find Gym

Gym102978C Count Min Ratio 题解

赛时无人场切。震撼,震撼。学到许多。全程贺 zak。 首先我们套路推下式子。枚举左边的红蓝球个数,答案即为 $$ \begin{aligned} &\sum_{b=0}^B\sum_{r=0}^R\binom{b+r}b\binom{B-b+R-r}{B-b}\min(\frac rb,\frac{ ......
题解 102978C 102978 Count Ratio
共2篇  :1/1页 首页上一页1下一页尾页