526互联
首页
Ai
Java
Python
Android
Mysql
JavaScript
Html
CSS
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
更新时间 2023-08-10
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
更新时间 2023-05-28
共2篇 :1/1页
首页
上一页
1
下一页
尾页