「sdoi - 2011」拦截导弹
link。朴素的做法就是二元组 $(a_i,b_i)$ 序列的 LIS dp,同时维护 LIS 的数量。$i$ 可在 $j$ 决策的条件是 $i>j,a_j<a_i,b_j<b...
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.