「atcoder - abc246h」01? Queries
link。平时基本打不到 ex,这个 ex 还是比较 ez 的,但也有些需要注意的地方。考虑 dp 规划前缀,设 $f[i][0/1]$ 表示前缀 $[1, i]$ 否是选 $i$ 的方案数,这...
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.