Solution -「CF 1864H」Asterism Stream
没想到吧,还有题解更新。Problem statement.首先朴素的做法即令 $f(x)$ 为从 $x$ 出发到达任一 $\geqslant n$ 的数的期望步数,转移显然是 $f(x) = ...
In mathematics you don't understand things, you just get used to them.
In mathematics you don't understand things, you just get used to them.